[INFO] fetching crate rai-models 0.11.0... [INFO] checking rai-models-0.11.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rai-models 0.11.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rai-models 0.11.0 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 rai-models 0.11.0 [INFO] finished tweaking crates.io crate rai-models 0.11.0 [INFO] tweaked toml for crates.io crate rai-models 0.11.0 written to /workspace/builds/worker-3-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 249 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding candle-core v0.4.1 (available: v0.7.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_builder v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.12.0 (available: v0.20.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding gemm v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-c32 v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-c64 v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-common v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-f16 v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-f32 v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding gemm-f64 v0.17.1 (available: v0.18.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.0.1 (available: v0.2.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding raw-cpuid v10.7.0 (available: v11.1.0) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysctl v0.5.5 (available: v0.6.0) [INFO] [stderr] Adding tokenizers v0.15.2 (available: v0.20.0) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding tracing-log v0.1.4 (available: v0.2.0) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.18) [INFO] [stderr] Adding tracing-test v0.1.0 (available: v0.2.5) [INFO] [stderr] Adding tracing-test-macro v0.1.0 (available: v0.2.5) [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.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] [stderr] Adding zip v0.6.6 (available: v2.2.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3bda10822aa3ed5477bb26c57eb0a414d14658aaf8b5e2a0ab425f1fdb635f3 [INFO] running `Command { std: "docker" "start" "-a" "e3bda10822aa3ed5477bb26c57eb0a414d14658aaf8b5e2a0ab425f1fdb635f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3bda10822aa3ed5477bb26c57eb0a414d14658aaf8b5e2a0ab425f1fdb635f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3bda10822aa3ed5477bb26c57eb0a414d14658aaf8b5e2a0ab425f1fdb635f3", kill_on_drop: false }` [INFO] [stdout] e3bda10822aa3ed5477bb26c57eb0a414d14658aaf8b5e2a0ab425f1fdb635f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7333432e000b5ce53d62056e188c39647d3d6d5bbefbdd18a2b52532e7795fd6 [INFO] running `Command { std: "docker" "start" "-a" "7333432e000b5ce53d62056e188c39647d3d6d5bbefbdd18a2b52532e7795fd6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling tracing-test-macro v0.1.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking pulp v0.18.22 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling rai-derive v0.11.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.13 [INFO] [stderr] Checking safetensors v0.4.5 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking tokenizers v0.15.2 [INFO] [stderr] Checking candle-core v0.4.1 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking tracing-test v0.1.0 [INFO] [stderr] Checking rai-core v0.11.0 [INFO] [stderr] Checking rai-opt v0.11.0 [INFO] [stderr] Checking rai-nn v0.11.0 [INFO] [stderr] Checking rai v0.11.0 [INFO] [stderr] Checking rai-models v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cv/vit.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 176 | let query = self.query.forward(xs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let key = self.key.forward(xs); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let value = self.value.forward(xs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let query = self.transpose_for_scores(&query); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let key = self.transpose_for_scores(&key); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let value = self.transpose_for_scores(&value); [INFO] [stdout] 182 | let attention_scores = query.matmul(key.t()) / f64::sqrt(self.attention_head_size as f64); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let attention_probs = attention_scores.softmax(-1); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | / attention_probs [INFO] [stdout] 185 | | .matmul(value) [INFO] [stdout] 186 | | .permute([0, 2, 1, 3]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cv/vit.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 351 | let embedding_output = self [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | let encoder_outputs = self.encoder.fwd(&embedding_output); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | / encoder_outputs [INFO] [stdout] 356 | | .narrow(1, 0, 1) [INFO] [stdout] 357 | | .squeeze(1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cv/vit.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 176 | let query = self.query.forward(xs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let key = self.key.forward(xs); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let value = self.value.forward(xs); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let query = self.transpose_for_scores(&query); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let key = self.transpose_for_scores(&key); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let value = self.transpose_for_scores(&value); [INFO] [stdout] 182 | let attention_scores = query.matmul(key.t()) / f64::sqrt(self.attention_head_size as f64); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let attention_probs = attention_scores.softmax(-1); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | / attention_probs [INFO] [stdout] 185 | | .matmul(value) [INFO] [stdout] 186 | | .permute([0, 2, 1, 3]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 65 | let xs1 = xs.narrow(-1, 0, last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let xs2 = xs.narrow(-1, last_dim / 2, last_dim - last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | Tensor::cat(&[&xs2.neg(), &xs1], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cv/vit.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 351 | let embedding_output = self [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | let encoder_outputs = self.encoder.fwd(&embedding_output); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | / encoder_outputs [INFO] [stdout] 356 | | .narrow(1, 0, 1) [INFO] [stdout] 357 | | .squeeze(1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 209 | let query_states = self.q_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let key_states = self.k_proj.forward(xs); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let value_states = self.v_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let query_states = query_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let key_states = key_states [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let (query_states, key_states) = [INFO] [stdout] | ------------ ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let key_states = self.repeat_kv(key_states); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let value_states = self.repeat_kv(value_states); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | / attn_output [INFO] [stdout] 250 | | .transpose(1, 2) [INFO] [stdout] 251 | | .reshape([b_sz, q_len, self.hidden_size]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 346 | device: impl AsDevice, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 365 | let attention_mask = if seq_len <= 1 { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | let mut xs = self.embed_tokens.forward(input); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 382 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 383 | | .apply(&self.norm) [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: this value of type `[Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi2.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 69 | let xs12 = xs_rot.chunk(2, -1); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let (xs1, xs2) = (&xs12[0], &xs12[1]); [INFO] [stdout] 71 | let c = &self.cos.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let s = &self.sin.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Tensor::cat(&[xs_rot, xs_pass], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 65 | let xs1 = xs.narrow(-1, 0, last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let xs2 = xs.narrow(-1, last_dim / 2, last_dim - last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | Tensor::cat(&[&xs2.neg(), &xs1], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 209 | let query_states = self.q_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let key_states = self.k_proj.forward(xs); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let value_states = self.v_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let query_states = query_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let key_states = key_states [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let (query_states, key_states) = [INFO] [stdout] | ------------ ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let key_states = self.repeat_kv(key_states); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let value_states = self.repeat_kv(value_states); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | / attn_output [INFO] [stdout] 250 | | .transpose(1, 2) [INFO] [stdout] 251 | | .reshape([b_sz, q_len, self.hidden_size]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi2.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 335 | let mut xs = self.embed_tokens.forward(xs); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | let mask = if seq_len <= 1 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let xs = self.final_layernorm.forward(&xs).narrow(1, seq_len - 1, 1); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | self.lm_head.forward(&xs).squeeze(1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 346 | device: impl AsDevice, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/gemma.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 365 | let attention_mask = if seq_len <= 1 { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | let mut xs = self.embed_tokens.forward(input); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 382 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 383 | | .apply(&self.norm) [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: this value of type `[Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 66 | let xs12 = xs_rot.chunk(2, -1); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let (xs1, xs2) = (&xs12[0], &xs12[1]); [INFO] [stdout] 68 | let c = &self.cos.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let s = &self.sin.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Tensor::cat(&[xs_rot, xs_pass], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 164 | let qkv = self.qkv_proj.fwd(xs); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | let query_pos = self.num_heads * self.head_dim; [INFO] [stdout] 166 | let query_states = qkv.narrow(-1, 0, query_pos); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | let key_states = qkv.narrow(-1, query_pos, self.num_kv_heads * self.head_dim); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | let value_states = qkv.narrow( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let query_states = self.rotary_emb.forward(&(query_states, seqlen_offset)); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | let key_states = self.rotary_emb.forward(&(key_states, seqlen_offset)); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let key_states = self.repeat_kv(key_states, self.num_kv_groups); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let value_states = self.repeat_kv(value_states, self.num_kv_groups); [INFO] [stdout] 200 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | attn_output.transpose(1, 2).flatten(2..).apply(&self.o_proj) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 309 | let mask = if seq_len <= 1 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let mut xs = self.embed_tokens.forward(xs); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 320 | | .apply(&self.norm) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 34 | let xs1 = xs.narrow(-1, 0, last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let xs2 = xs.narrow(-1, last_dim / 2, last_dim - last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Tensor::cat(&[&xs2.neg(), &xs1], -1) [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: this value of type `[Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi2.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 69 | let xs12 = xs_rot.chunk(2, -1); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let (xs1, xs2) = (&xs12[0], &xs12[1]); [INFO] [stdout] 71 | let c = &self.cos.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let s = &self.sin.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Tensor::cat(&[xs_rot, xs_pass], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 176 | let query_states = self.q_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let key_states = self.k_proj.forward(xs); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let value_states = self.v_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let query_states = query_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let key_states = key_states [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let (query_states, key_states) = [INFO] [stdout] | ------------ ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let key_states = self.repeat_kv(key_states); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let value_states = self.repeat_kv(value_states); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | / attn_output [INFO] [stdout] 217 | | .transpose(1, 2) [INFO] [stdout] 218 | | .reshape([b_sz, q_len, self.hidden_size]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi2.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 335 | let mut xs = self.embed_tokens.forward(xs); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | let mask = if seq_len <= 1 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let xs = self.final_layernorm.forward(&xs).narrow(1, seq_len - 1, 1); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | self.lm_head.forward(&xs).squeeze(1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 311 | device: impl AsDevice, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 339 | let attention_mask = if seq_len <= 1 { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut xs = self.embed_tokens.forward(input); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 356 | | .apply(&self.norm) [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 66 | let xs12 = xs_rot.chunk(2, -1); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let (xs1, xs2) = (&xs12[0], &xs12[1]); [INFO] [stdout] 68 | let c = &self.cos.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let s = &self.sin.narrow(0, seqlen_offset, seq_len).to_dtype(xs); [INFO] [stdout] | ------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Tensor::cat(&[xs_rot, xs_pass], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 164 | let qkv = self.qkv_proj.fwd(xs); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | let query_pos = self.num_heads * self.head_dim; [INFO] [stdout] 166 | let query_states = qkv.narrow(-1, 0, query_pos); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | let key_states = qkv.narrow(-1, query_pos, self.num_kv_heads * self.head_dim); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | let value_states = qkv.narrow( [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let query_states = self.rotary_emb.forward(&(query_states, seqlen_offset)); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | let key_states = self.rotary_emb.forward(&(key_states, seqlen_offset)); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let key_states = self.repeat_kv(key_states, self.num_kv_groups); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let value_states = self.repeat_kv(value_states, self.num_kv_groups); [INFO] [stdout] 200 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | attn_output.transpose(1, 2).flatten(2..).apply(&self.o_proj) [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] [stderr] error: could not compile `rai-models` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/phi3.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 309 | let mask = if seq_len <= 1 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let mut xs = self.embed_tokens.forward(xs); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 320 | | .apply(&self.norm) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 34 | let xs1 = xs.narrow(-1, 0, last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let xs2 = xs.narrow(-1, last_dim / 2, last_dim - last_dim / 2); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Tensor::cat(&[&xs2.neg(), &xs1], -1) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 176 | let query_states = self.q_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let key_states = self.k_proj.forward(xs); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let value_states = self.v_proj.forward(xs); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let query_states = query_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let key_states = key_states [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let value_states = value_states [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let (query_states, key_states) = [INFO] [stdout] | ------------ ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let key_states = self.repeat_kv(key_states); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let value_states = self.repeat_kv(value_states); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | let attn_output = { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | / attn_output [INFO] [stdout] 217 | | .transpose(1, 2) [INFO] [stdout] 218 | | .reshape([b_sz, q_len, self.hidden_size]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 311 | device: impl AsDevice, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let mask = Tensor::from_array(mask, [tgt_len, tgt_len], device); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let mask = if seqlen_offset > 0 { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | mask.broadcast_to([b_size, 1, tgt_len, tgt_len + seqlen_offset]) [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: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/llm/qwen2.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 339 | let attention_mask = if seq_len <= 1 { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut xs = self.embed_tokens.forward(input); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | / xs.narrow(1, seq_len - 1, 1) [INFO] [stdout] 356 | | .apply(&self.norm) [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rai-models` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "7333432e000b5ce53d62056e188c39647d3d6d5bbefbdd18a2b52532e7795fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7333432e000b5ce53d62056e188c39647d3d6d5bbefbdd18a2b52532e7795fd6", kill_on_drop: false }` [INFO] [stdout] 7333432e000b5ce53d62056e188c39647d3d6d5bbefbdd18a2b52532e7795fd6