[INFO] fetching crate rust2vec 0.5.2... [INFO] checking rust2vec-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rust2vec 0.5.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rust2vec 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 0.5.2 [INFO] finished tweaking crates.io crate rust2vec 0.5.2 [INFO] tweaked toml for crates.io crate rust2vec 0.5.2 written to /workspace/builds/worker-0-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] Locking 66 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 cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.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 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 num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding ordered-float v1.1.1 (latest: v4.2.2) [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 syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding toml v0.4.10 (latest: v0.8.19) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ac4daed2af374dd95c20d165385b2c0511cd14cd3087d743903e164e3a8fc348 [INFO] running `Command { std: "docker" "start" "-a" "ac4daed2af374dd95c20d165385b2c0511cd14cd3087d743903e164e3a8fc348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac4daed2af374dd95c20d165385b2c0511cd14cd3087d743903e164e3a8fc348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4daed2af374dd95c20d165385b2c0511cd14cd3087d743903e164e3a8fc348", kill_on_drop: false }` [INFO] [stdout] ac4daed2af374dd95c20d165385b2c0511cd14cd3087d743903e164e3a8fc348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 08e64634ab5aae0732a83536ef28acb73350c50a79a091e4e1aee6ff33dba9af [INFO] running `Command { std: "docker" "start" "-a" "08e64634ab5aae0732a83536ef28acb73350c50a79a091e4e1aee6ff33dba9af", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ndarray-parallel v0.9.1 [INFO] [stderr] Checking reductive v0.2.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rust2vec v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/prelude.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | impl Analogy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | impl AnalogyBy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | impl Similarity for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | impl SimilarityBy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | impl SimilarityPrivate for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | impl ReadText for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | impl ReadTextDims for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | impl WriteText for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | impl WriteTextDims for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | impl ReadWord2Vec for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | impl WriteWord2Vec for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embeddings.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | storage: &'a 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] 250 | storage: &'a dyn Storage, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/word2vec.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_number(reader: &mut BufRead, delim: u8) -> Result { [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] 90 | fn read_number(reader: &mut dyn BufRead, delim: u8) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/word2vec.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn read_string(reader: &mut BufRead, delim: u8) -> Result { [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] 95 | fn read_string(reader: &mut dyn BufRead, delim: u8) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `embeddings::tests::mmap`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/embeddings.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | / fn mmap() { [INFO] [stdout] 297 | | let check_embeds = test_embeddings(); [INFO] [stdout] 298 | | let mut reader = BufReader::new(File::open("testdata/similarity.fifu").unwrap()); [INFO] [stdout] 299 | | let embeds: Embeddings = [INFO] [stdout] ... | [INFO] [stdout] 302 | | assert_eq!(embeds.storage().view(), check_embeds.storage().view()); [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `embeddings::tests::write_read_simple_metadata_roundtrip`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/embeddings.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / fn write_read_simple_metadata_roundtrip() { [INFO] [stdout] 319 | | let mut check_embeds = test_embeddings(); [INFO] [stdout] 320 | | check_embeds.set_metadata(Some(test_metadata())); [INFO] [stdout] ... | [INFO] [stdout] 328 | | assert_eq!(embeds.vocab(), check_embeds.vocab()); [INFO] [stdout] 329 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `embeddings::tests::write_read_simple_roundtrip`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/embeddings.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | / fn write_read_simple_roundtrip() { [INFO] [stdout] 307 | | let check_embeds = test_embeddings(); [INFO] [stdout] 308 | | let mut cursor = Cursor::new(Vec::new()); [INFO] [stdout] 309 | | check_embeds.write_embeddings(&mut cursor).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 314 | | assert_eq!(embeds.vocab(), check_embeds.vocab()); [INFO] [stdout] 315 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/prelude.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | impl Analogy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | impl AnalogyBy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | impl Similarity for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | impl SimilarityBy for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | impl SimilarityPrivate for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | let embeddings = Embeddings::read_word2vec_binary(&mut reader, true).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:392:26 [INFO] [stdout] | [INFO] [stdout] 392 | let embeddings = Embeddings::read_word2vec_binary(&mut reader, true).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:410:26 [INFO] [stdout] | [INFO] [stdout] 410 | let embeddings = Embeddings::read_word2vec_binary(&mut reader, true).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | impl ReadText for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | impl ReadTextDims for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | impl WriteText for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | impl WriteTextDims for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | fn read_word2vec() -> Embeddings { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | Embeddings::read_word2vec_binary(&mut reader, false).unwrap() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | let text_embeddings = Embeddings::read_text(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:277:31 [INFO] [stdout] | [INFO] [stdout] 277 | let text_embeddings = Embeddings::read_text_dims(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | let embeddings = Embeddings::read_text(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | let embeddings = Embeddings::read_text_dims(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | impl ReadWord2Vec for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 121 | impl WriteWord2Vec for Embeddings [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Embeddings::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/tests.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::embeddings::Embeddings; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/tests.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let embeddings = Embeddings::read_word2vec_binary(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `embeddings::Embeddings`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/tests.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let embeddings = Embeddings::read_word2vec_binary(&mut reader, false).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/embeddings.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | storage: &'a 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] 250 | storage: &'a dyn Storage, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding1 = self.embedding(word1)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let embedding2 = self.embedding(word2)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | let embedding3 = self.embedding(word3)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | let embed = self.embedding(word)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | self.storage().view().slice(s![0..self.vocab().len(), ..]), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:220:52 [INFO] [stdout] | [INFO] [stdout] 220 | self.storage().view().slice(s![0..self.vocab().len(), ..]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | let word = &self.vocab().words()[idx]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/word2vec.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn read_number(reader: &mut BufRead, delim: u8) -> Result { [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] 90 | fn read_number(reader: &mut dyn BufRead, delim: u8) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/word2vec.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn read_string(reader: &mut BufRead, delim: u8) -> Result { [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] 95 | fn read_string(reader: &mut dyn BufRead, delim: u8) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::iter`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | for (word, embed) in self.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:236:39 [INFO] [stdout] | [INFO] [stdout] 236 | writeln!(write, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::dims`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:236:59 [INFO] [stdout] | [INFO] [stdout] 236 | writeln!(write, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | writeln!(w, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::dims`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | writeln!(w, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::iter`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | for (word, embed) in self.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | let embedding1 = self.embedding(word1)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let embedding2 = self.embedding(word2)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | let embedding3 = self.embedding(word3)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::embedding`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | let embed = self.embedding(word)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | self.storage().view().slice(s![0..self.vocab().len(), ..]), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:220:52 [INFO] [stdout] | [INFO] [stdout] 220 | self.storage().view().slice(s![0..self.vocab().len(), ..]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/similarity.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | let word = &self.vocab().words()[idx]; [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/embeddings.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | impl_embeddings_from!(SimpleVocab, MmapArray, StorageWrap); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | impl_embeddings_from!(SimpleVocab, MmapArray, StorageViewWrap); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | impl_embeddings_from!(SubwordVocab, MmapArray, StorageWrap); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl_embeddings_from!(SubwordVocab, MmapArray, StorageViewWrap); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 177 | let vocab = V::read_chunk(read)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let storage = S::mmap_chunk(read)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | [INFO] [stdout] 180 | Ok(Embeddings { [INFO] [stdout] | ____________^ [INFO] [stdout] 181 | | metadata, [INFO] [stdout] 182 | | vocab, [INFO] [stdout] 183 | | storage, [INFO] [stdout] 184 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/embeddings.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 207 | let vocab = V::read_chunk(read)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let storage = S::read_chunk(read)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | Ok(Embeddings { [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | metadata, [INFO] [stdout] 212 | | vocab, [INFO] [stdout] 213 | | storage, [INFO] [stdout] 214 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 88 | let map = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(MmapArray { map, shape }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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 7 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::iter`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | for (word, embed) in self.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec` (lib) due to 8 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:236:39 [INFO] [stdout] | [INFO] [stdout] 236 | writeln!(write, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::dims`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:236:59 [INFO] [stdout] | [INFO] [stdout] 236 | writeln!(write, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:266:36 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(text_embeddings.vocab().words(), embeddings.vocab().words()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(text_embeddings.vocab().words(), embeddings.vocab().words()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | text_embeddings.storage().view(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | embeddings.storage().view() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(text_embeddings.vocab().words(), embeddings.vocab().words()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(text_embeddings.vocab().words(), embeddings.vocab().words()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | text_embeddings.storage().view(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::storage`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/text.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | embeddings.storage().view() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `embeddings::Embeddings::::new`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Embeddings::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | writeln!(w, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::dims`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | writeln!(w, "{} {}", self.vocab().len(), self.dims())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::iter`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/word2vec.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | for (word, embed) in self.iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::vocab`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/tests.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(41, embeddings.vocab().len()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `embeddings::Embeddings::::dims`: rust2vec is superseded by the finalfusion crate [INFO] [stdout] --> src/tests.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(100, embeddings.dims()); [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/embeddings.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | impl_embeddings_from!(SimpleVocab, MmapArray, StorageWrap); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | impl_embeddings_from!(SimpleVocab, MmapArray, StorageViewWrap); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | impl_embeddings_from!(SubwordVocab, MmapArray, StorageWrap); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn from(from: Embeddings<$vocab, $storage>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let (metadata, vocab, storage) = from.into_parts(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Embeddings::new(metadata, vocab.into(), storage.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | impl_embeddings_from!(SubwordVocab, MmapArray, StorageViewWrap); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_embeddings_from` (in Nightly builds, run with -Z macro-backtrace for more info) [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.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 177 | let vocab = V::read_chunk(read)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let storage = S::mmap_chunk(read)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | [INFO] [stdout] 180 | Ok(Embeddings { [INFO] [stdout] | ____________^ [INFO] [stdout] 181 | | metadata, [INFO] [stdout] 182 | | vocab, [INFO] [stdout] 183 | | storage, [INFO] [stdout] 184 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/embeddings.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 207 | let vocab = V::read_chunk(read)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let storage = S::read_chunk(read)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | Ok(Embeddings { [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | metadata, [INFO] [stdout] 212 | | vocab, [INFO] [stdout] 213 | | storage, [INFO] [stdout] 214 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/embeddings.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 279 | let mut reader = BufReader::new(File::open("testdata/similarity.bin").unwrap()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | Embeddings::read_word2vec_binary(&mut reader, false).unwrap() [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/storage.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 88 | let map = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(MmapArray { map, shape }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/text.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 254 | let f = File::open("testdata/similarity.bin").unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | 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] 256 | Embeddings::read_word2vec_binary(&mut reader, false).unwrap() [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 9 previous errors; 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2vec` (lib test) due to 10 previous errors; 63 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08e64634ab5aae0732a83536ef28acb73350c50a79a091e4e1aee6ff33dba9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e64634ab5aae0732a83536ef28acb73350c50a79a091e4e1aee6ff33dba9af", kill_on_drop: false }` [INFO] [stdout] 08e64634ab5aae0732a83536ef28acb73350c50a79a091e4e1aee6ff33dba9af