[INFO] fetching crate embed_anything 0.2.1... [INFO] checking embed_anything-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate embed_anything 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate embed_anything 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate embed_anything 0.2.1 [INFO] finished tweaking crates.io crate embed_anything 0.2.1 [INFO] tweaked toml for crates.io crate embed_anything 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate embed_anything 0.2.1 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] 3a3d741e7610a1ecef3e9b4432f512f7f68d88a8890b55d8ee6d114f94b9e9ec [INFO] running `Command { std: "docker" "start" "-a" "3a3d741e7610a1ecef3e9b4432f512f7f68d88a8890b55d8ee6d114f94b9e9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a3d741e7610a1ecef3e9b4432f512f7f68d88a8890b55d8ee6d114f94b9e9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3d741e7610a1ecef3e9b4432f512f7f68d88a8890b55d8ee6d114f94b9e9ec", kill_on_drop: false }` [INFO] [stdout] 3a3d741e7610a1ecef3e9b4432f512f7f68d88a8890b55d8ee6d114f94b9e9ec [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] 4fdfd1fae8f14dab6c8d319ab3be5c0889a62f0609d9a09f67fb9bb279476144 [INFO] running `Command { std: "docker" "start" "-a" "4fdfd1fae8f14dab6c8d319ab3be5c0889a62f0609d9a09f67fb9bb279476144", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 [INFO] [stderr] Compiling pyo3-ffi v0.22.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking safetensors v0.4.3 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling pulldown-cmark v0.7.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking pom v1.1.0 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking candle-core v0.6.0 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking monostate v0.1.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Checking rgb v0.8.44 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling pyo3 v0.22.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking candle-nn v0.6.0 [INFO] [stderr] Checking lopdf v0.32.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking tokenizers v0.19.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling auto_enums v0.8.5 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ravif v0.11.8 [INFO] [stderr] Compiling pyo3-macros v0.22.2 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking type1-encoding-parser v0.1.0 [INFO] [stderr] Checking adobe-cmap-parser v0.4.0 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia-format-caf v0.5.4 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-alac v0.5.4 [INFO] [stderr] Checking symphonia-codec-aac v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking linkify v0.8.1 [INFO] [stderr] Checking postscript v0.14.1 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking diacritics v0.1.3 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking text-cleaner v0.1.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking scraper v0.19.0 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking markdown-parser v0.1.2 [INFO] [stderr] Checking markdown_to_text v1.0.0 [INFO] [stderr] Checking candle-transformers v0.6.0 [INFO] [stderr] Checking statistical v1.0.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking pdf-extract v0.7.7 [INFO] [stderr] Checking text-splitter v0.14.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking embed_anything v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `os::linux::raw` [INFO] [stdout] --> src/chunkers/statistical.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, os::linux::raw}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cloud::openai::OpenAIEmbeder` and `normalize_l2` [INFO] [stdout] --> src/chunkers/statistical.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::embeddings::{cloud::openai::OpenAIEmbeder, embed::TextEmbed, local::jina::JinaEmbeder, normalize_l2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer` [INFO] [stdout] --> src/chunkers/statistical.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use tokenizers::{tokenizer, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::linux::raw` [INFO] [stdout] --> src/chunkers/statistical.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, os::linux::raw}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cloud::openai::OpenAIEmbeder` and `normalize_l2` [INFO] [stdout] --> src/chunkers/statistical.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::embeddings::{cloud::openai::OpenAIEmbeder, embed::TextEmbed, local::jina::JinaEmbeder, normalize_l2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer` [INFO] [stdout] --> src/chunkers/statistical.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use tokenizers::{tokenizer, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/chunkers/statistical.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, os::linux::raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/chunkers/statistical.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, os::linux::raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_tokens_count` is never read [INFO] [stdout] --> src/chunkers/statistical.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | current_tokens_count += doc_token_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `similarities` [INFO] [stdout] --> src/chunkers/statistical.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | similarities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_similarities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:263:62 [INFO] [stdout] | [INFO] [stdout] 263 | #[pyo3(signature = (file_name, embeder, config=None, adapter=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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:350:81 [INFO] [stdout] | [INFO] [stdout] 350 | #[pyo3(signature = (directory, embeder, extensions=None, config=None, adapter = 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/lib.rs:460:58 [INFO] [stdout] | [INFO] [stdout] 460 | #[pyo3(signature = (url, embeder, config=None, adapter = 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/chunkers/cumulative.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(encoder: T, splitter: TextSplitter, score_threshold: f32) -> Self { [INFO] [stdout] | ---------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | device: candle_core::Device::cuda_if_available(0).unwrap_or(candle_core::Device::Cpu), [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/chunkers/statistical.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 49 | encoder: T, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | splitter: TextSplitter, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | tokenizer: Tokenizer, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | device: candle_core::Device::cuda_if_available(0).unwrap_or(candle_core::Device::Cpu), [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/embeddings/cloud/cohere.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 59 | let response = self.client [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | response.json::().await.unwrap() [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/embeddings/local/bert.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 29 | let api = Api::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let mut tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let model = BertModel::load(vb, &config).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Ok(BertEmbeder { model, tokenizer }) [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] = 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/embeddings/local/bert.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | let token_ids = tokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Tensor::stack(&token_ids, 0)?) [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] | [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/embeddings/local/clip.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 38 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let model = clip::ClipModel::new(vb, &config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let tokenizer = Self::get_tokenizer(None)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(ClipEmbeder { model, tokenizer }) [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] | 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/embeddings/local/clip.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 68 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let api = api.repo(hf_hub::Repo::with_revision( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Tokenizer::from_file(tokenizer).map_err(E::msg) [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] | [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/embeddings/local/clip.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 118 | let input_ids = Tensor::new(tokens, device)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok((input_ids, vec_seq)) [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] | [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/embeddings/local/jina.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 40 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let model = BertModel::new(vb, &config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Self { model, tokenizer }) [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] | 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] = 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/embeddings/local/jina.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 70 | let token_ids = tokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Tensor::stack(&token_ids, 0)?) [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] | [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/file_processor/audio/audio_processor.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 104 | model: Model, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | tokenizer: Tokenizer, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let suppress_tokens = Tensor::new(suppress_tokens.as_slice(), device)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | None => anyhow::bail!("unable to find any non-speech token"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | model, [INFO] [stdout] 141 | | rng: rand::rngs::StdRng::seed_from_u64(seed), [INFO] [stdout] 142 | | tokenizer, [INFO] [stdout] ... | [INFO] [stdout] 153 | | no_timestamps_token, [INFO] [stdout] 154 | | }) [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/file_processor/audio/audio_processor.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | .find_map(|token| token_id(&tokenizer, token).ok()); [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 15 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed_anything` (lib) due to 16 previous errors; 6 warnings emitted [INFO] [stdout] warning: value assigned to `current_tokens_count` is never read [INFO] [stdout] --> src/chunkers/statistical.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | current_tokens_count += doc_token_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `similarities` [INFO] [stdout] --> src/chunkers/statistical.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | similarities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_similarities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:263:62 [INFO] [stdout] | [INFO] [stdout] 263 | #[pyo3(signature = (file_name, embeder, config=None, adapter=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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:350:81 [INFO] [stdout] | [INFO] [stdout] 350 | #[pyo3(signature = (directory, embeder, extensions=None, config=None, adapter = 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/lib.rs:460:58 [INFO] [stdout] | [INFO] [stdout] 460 | #[pyo3(signature = (url, embeder, config=None, adapter = 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/chunkers/cumulative.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(encoder: T, splitter: TextSplitter, score_threshold: f32) -> Self { [INFO] [stdout] | ---------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | device: candle_core::Device::cuda_if_available(0).unwrap_or(candle_core::Device::Cpu), [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/chunkers/statistical.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 49 | encoder: T, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | splitter: TextSplitter, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | tokenizer: Tokenizer, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | device: candle_core::Device::cuda_if_available(0).unwrap_or(candle_core::Device::Cpu), [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/embeddings/cloud/cohere.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 59 | let response = self.client [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | response.json::().await.unwrap() [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/embeddings/local/bert.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 29 | let api = Api::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let mut tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let model = BertModel::load(vb, &config).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Ok(BertEmbeder { model, tokenizer }) [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] = 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/embeddings/local/bert.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | let token_ids = tokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Tensor::stack(&token_ids, 0)?) [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] | [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/embeddings/local/clip.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 38 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let model = clip::ClipModel::new(vb, &config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let tokenizer = Self::get_tokenizer(None)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(ClipEmbeder { model, tokenizer }) [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] | 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/embeddings/local/clip.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 68 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let api = api.repo(hf_hub::Repo::with_revision( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Tokenizer::from_file(tokenizer).map_err(E::msg) [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] | [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/embeddings/local/clip.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 118 | let input_ids = Tensor::new(tokens, device)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | [INFO] [stdout] 120 | Ok((input_ids, vec_seq)) [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] | [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/embeddings/local/jina.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 40 | let api = hf_hub::api::sync::Api::new()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let api = match revision { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut tokenizer = Tokenizer::from_file(tokenizer_filename).map_err(E::msg)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let vb = unsafe { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let model = BertModel::new(vb, &config)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(Self { model, tokenizer }) [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] | 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] = 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/embeddings/local/jina.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 70 | let token_ids = tokens [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Tensor::stack(&token_ids, 0)?) [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] | [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/file_loader.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | .map(|f| f.canonicalize().unwrap().to_string_lossy().to_string()) [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/file_processor/audio/audio_processor.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 104 | model: Model, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | tokenizer: Tokenizer, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let suppress_tokens = Tensor::new(suppress_tokens.as_slice(), device)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | None => anyhow::bail!("unable to find any non-speech token"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | model, [INFO] [stdout] 141 | | rng: rand::rngs::StdRng::seed_from_u64(seed), [INFO] [stdout] 142 | | tokenizer, [INFO] [stdout] ... | [INFO] [stdout] 153 | | no_timestamps_token, [INFO] [stdout] 154 | | }) [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/file_processor/audio/audio_processor.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | .find_map(|token| token_id(&tokenizer, token).ok()); [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed_anything` (lib test) due to 17 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4fdfd1fae8f14dab6c8d319ab3be5c0889a62f0609d9a09f67fb9bb279476144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fdfd1fae8f14dab6c8d319ab3be5c0889a62f0609d9a09f67fb9bb279476144", kill_on_drop: false }` [INFO] [stdout] 4fdfd1fae8f14dab6c8d319ab3be5c0889a62f0609d9a09f67fb9bb279476144