[INFO] fetching crate rust2vec-utils 0.5.2... [INFO] checking rust2vec-utils-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rust2vec-utils 0.5.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rust2vec-utils 0.5.2 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 rust2vec-utils 0.5.2 [INFO] finished tweaking crates.io crate rust2vec-utils 0.5.2 [INFO] tweaked toml for crates.io crate rust2vec-utils 0.5.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding blas-src v0.2.1 (latest: v0.10.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding derive-new v0.5.9 (latest: v0.7.0) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding itertools v0.7.11 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding lapacke v0.2.0 (latest: v0.5.0) [INFO] [stderr] Adding matrixmultiply v0.1.15 (latest: v0.3.9) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding ndarray v0.12.1 (latest: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.10.0 (latest: v0.16.0) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding ordered-float v1.1.1 (latest: v4.2.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rawpointer v0.1.0 (latest: v0.2.1) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding reductive v0.2.0 (latest: v0.9.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.14.9 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.19) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 997c13ec285e53cefd0c93fb0197b5a17cfdf4caf4b4f046ee42826bf9bfa2a3 [INFO] running `Command { std: "docker" "start" "-a" "997c13ec285e53cefd0c93fb0197b5a17cfdf4caf4b4f046ee42826bf9bfa2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997c13ec285e53cefd0c93fb0197b5a17cfdf4caf4b4f046ee42826bf9bfa2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997c13ec285e53cefd0c93fb0197b5a17cfdf4caf4b4f046ee42826bf9bfa2a3", kill_on_drop: false }` [INFO] [stdout] 997c13ec285e53cefd0c93fb0197b5a17cfdf4caf4b4f046ee42826bf9bfa2a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3cd1a632e853a263e4007efb23d98a4558962e7ae8d5813486a65c40d84649e6 [INFO] running `Command { std: "docker" "start" "-a" "3cd1a632e853a263e4007efb23d98a4558962e7ae8d5813486a65c40d84649e6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking stdinout v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking ndarray-parallel v0.9.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking reductive v0.2.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rust2vec v0.5.2 [INFO] [stderr] Checking rust2vec-utils v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | Word2Vec => ReadWord2Vec::read_word2vec_binary(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | Text => ReadText::read_text(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:45:73 [INFO] [stdout] | [INFO] [stdout] 45 | TextDims => ReadTextDims::read_text_dims(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:43:79 [INFO] [stdout] | [INFO] [stdout] 43 | Word2Vec => ReadWord2Vec::read_word2vec_binary(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | Text => ReadText::read_text(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/lib.rs:45:73 [INFO] [stdout] | [INFO] [stdout] 45 | TextDims => ReadTextDims::read_text_dims(&mut reader, true).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Embeddings { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:148:80 [INFO] [stdout] | [INFO] [stdout] 148 | ReadWord2Vec::read_word2vec_binary(&mut reader, normalization).map(Embeddings::into) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | Text => ReadText::read_text(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:151:82 [INFO] [stdout] | [INFO] [stdout] 151 | TextDims => ReadTextDims::read_text_dims(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | embeddings: Embeddings, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::set_metadata`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | embeddings.set_metadata(metadata); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | embeddings: &'a Embeddings, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | fn process_analogies(embeddings: &Embeddings, instances: &[Instance]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | fn new(embeddings: &'a Embeddings) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [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/bin/r2v-convert.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse input format", 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] = 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/bin/r2v-convert.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse output format", 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/r2v-convert.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn read_metadata(filename: impl AsRef) -> Value { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let f = File::open(filename.as_ref()).or_exit("Cannot open metadata file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | buf.parse::() [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/bin/r2v-convert.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 140 | let f = File::open(filename).or_exit("Cannot open embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / match embedding_format { [INFO] [stdout] 145 | | FinalFusion => ReadEmbeddings::read_embeddings(&mut reader), [INFO] [stdout] 146 | | FinalFusionMmap => MmapEmbeddings::mmap_embeddings(&mut reader), [INFO] [stdout] 147 | | Word2Vec => { [INFO] [stdout] ... | [INFO] [stdout] 151 | | TextDims => ReadTextDims::read_text_dims(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] 152 | | } [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/bin/r2v-convert.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 157 | embeddings: Embeddings, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let f = File::create(filename).or_exit("Cannot create embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | / match embedding_format { [INFO] [stdout] 166 | | FinalFusion => embeddings.write_embeddings(&mut writer), [INFO] [stdout] 167 | | FinalFusionMmap => Err(err_msg("Writing to this format is not supported")), [INFO] [stdout] 168 | | Word2Vec => embeddings.write_word2vec_binary(&mut writer), [INFO] [stdout] 169 | | Text => embeddings.write_text(&mut writer), [INFO] [stdout] 170 | | TextDims => embeddings.write_text_dims(&mut writer), [INFO] [stdout] 171 | | } [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 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | embeddings: &'a Embeddings, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | fn process_analogies(embeddings: &Embeddings, instances: &[Instance]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | fn new(embeddings: &'a Embeddings) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-convert") due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn write_embeddings(embeddings: &Embeddings, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 279 | let quantized_embeddings = Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/r2v-quantize.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &Storage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &dyn StorageView, quantized_storage: &Storage) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/r2v-quantize.rs:182:58 [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &Storage) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &dyn Storage) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | if self.embeddings.vocab().idx(&instance.answer).is_none() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-compute-accuracy.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | if self.embeddings.vocab().idx(&instance.answer).is_none() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | ) -> Embeddings { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:255:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn write_embeddings(embeddings: &Embeddings, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/bin/r2v-similar.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|f| EmbeddingFormat::try_from(f).or_exit("Cannot parse embedding format", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:148:80 [INFO] [stdout] | [INFO] [stdout] 148 | ReadWord2Vec::read_word2vec_binary(&mut reader, normalization).map(Embeddings::into) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | Text => ReadText::read_text(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:151:82 [INFO] [stdout] | [INFO] [stdout] 151 | TextDims => ReadTextDims::read_text_dims(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | embeddings: Embeddings, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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/bin/r2v-metadata.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | let f = File::open(filename).or_exit("Cannot open embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ReadMetadata::read_metadata(&mut reader).or_exit("Cannot read metadata", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rust2vec::embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 279 | let quantized_embeddings = Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/r2v-quantize.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &Storage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &dyn StorageView, quantized_storage: &Storage) { [INFO] [stdout] | +++ [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/bin/r2v-metadata.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | let f = File::open(filename).or_exit("Cannot open embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | ReadMetadata::read_metadata(&mut reader).or_exit("Cannot read metadata", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::set_metadata`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-convert.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | embeddings.set_metadata(metadata); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/r2v-quantize.rs:182:58 [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &Storage) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn print_loss(storage: &StorageView, quantized_storage: &dyn Storage) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-similar" test) due to 2 previous errors [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:278:66 [INFO] [stdout] | [INFO] [stdout] 278 | let quantized_storage = quantize_storage(&config, embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rust2vec::embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | let quantized_embeddings = Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::metadata`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | embeddings.metadata().cloned(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | embeddings.vocab().clone(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | print_loss(embeddings.storage(), quantized_embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | print_loss(embeddings.storage(), quantized_embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-metadata" test) due to 2 previous errors [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/bin/r2v-similar.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|f| EmbeddingFormat::try_from(f).or_exit("Cannot parse embedding format", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-metadata") due to 2 previous errors [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/bin/r2v-convert.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse input format", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-similar") due to 2 previous errors [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/bin/r2v-convert.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse output format", 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/r2v-convert.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn read_metadata(filename: impl AsRef) -> Value { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let f = File::open(filename.as_ref()).or_exit("Cannot open metadata file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | buf.parse::() [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/bin/r2v-convert.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 140 | let f = File::open(filename).or_exit("Cannot open embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let mut reader = BufReader::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | / match embedding_format { [INFO] [stdout] 145 | | FinalFusion => ReadEmbeddings::read_embeddings(&mut reader), [INFO] [stdout] 146 | | FinalFusionMmap => MmapEmbeddings::mmap_embeddings(&mut reader), [INFO] [stdout] 147 | | Word2Vec => { [INFO] [stdout] ... | [INFO] [stdout] 151 | | TextDims => ReadTextDims::read_text_dims(&mut reader, normalization).map(Embeddings::into), [INFO] [stdout] 152 | | } [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/bin/r2v-convert.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 157 | embeddings: Embeddings, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let f = File::create(filename).or_exit("Cannot create embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | / match embedding_format { [INFO] [stdout] 166 | | FinalFusion => embeddings.write_embeddings(&mut writer), [INFO] [stdout] 167 | | FinalFusionMmap => Err(err_msg("Writing to this format is not supported")), [INFO] [stdout] 168 | | Word2Vec => embeddings.write_word2vec_binary(&mut writer), [INFO] [stdout] 169 | | Text => embeddings.write_text(&mut writer), [INFO] [stdout] 170 | | TextDims => embeddings.write_text_dims(&mut writer), [INFO] [stdout] 171 | | } [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 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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/bin/r2v-quantize.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse input format", 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:278:66 [INFO] [stdout] | [INFO] [stdout] 278 | let quantized_storage = quantize_storage(&config, embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [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/bin/r2v-quantize.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 256 | let f = File::create(filename).or_exit("Cannot create embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | / embeddings [INFO] [stdout] 259 | | .write_embeddings(&mut writer) [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] warning: use of deprecated associated function `rust2vec::embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:279:44 [INFO] [stdout] | [INFO] [stdout] 279 | let quantized_embeddings = Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::metadata`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | embeddings.metadata().cloned(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | embeddings.vocab().clone(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | print_loss(embeddings.storage(), quantized_embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rust2vec::embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/bin/r2v-quantize.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | print_loss(embeddings.storage(), quantized_embeddings.storage()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-convert" test) due to 6 previous errors; 6 warnings emitted [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/bin/r2v-quantize.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|v| EmbeddingFormat::try_from(v).or_exit("Cannot parse input format", 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] = 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/bin/r2v-quantize.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 256 | let f = File::create(filename).or_exit("Cannot create embeddings file", 1); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut writer = BufWriter::new(f); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | / embeddings [INFO] [stdout] 259 | | .write_embeddings(&mut writer) [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 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-quantize") due to 3 previous errors; 10 warnings emitted [INFO] [stderr] error: could not compile `rust2vec-utils` (bin "r2v-quantize" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3cd1a632e853a263e4007efb23d98a4558962e7ae8d5813486a65c40d84649e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cd1a632e853a263e4007efb23d98a4558962e7ae8d5813486a65c40d84649e6", kill_on_drop: false }` [INFO] [stdout] 3cd1a632e853a263e4007efb23d98a4558962e7ae8d5813486a65c40d84649e6