[INFO] cloning repository https://github.com/codemonger-io/flechasdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codemonger-io/flechasdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodemonger-io%2Fflechasdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodemonger-io%2Fflechasdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9d2889f1731ce1e36afbfe851a324863ce0783 [INFO] checking codemonger-io/flechasdb/6d9d2889f1731ce1e36afbfe851a324863ce0783 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodemonger-io%2Fflechasdb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codemonger-io/flechasdb on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codemonger-io/flechasdb [INFO] finished tweaking git repo https://github.com/codemonger-io/flechasdb [INFO] tweaked toml for git repo https://github.com/codemonger-io/flechasdb written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/codemonger-io/flechasdb already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c7308a08be1cd4f07ff7ea2a25dab376ce29020f752c010feba5174d15ccadf [INFO] running `Command { std: "docker" "start" "-a" "6c7308a08be1cd4f07ff7ea2a25dab376ce29020f752c010feba5174d15ccadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7308a08be1cd4f07ff7ea2a25dab376ce29020f752c010feba5174d15ccadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7308a08be1cd4f07ff7ea2a25dab376ce29020f752c010feba5174d15ccadf", kill_on_drop: false }` [INFO] [stdout] 6c7308a08be1cd4f07ff7ea2a25dab376ce29020f752c010feba5174d15ccadf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a2c7b5b7a5017e0e033ea81dcaea84d590dc5ac59b6a70b5f31c3ef9063b78 [INFO] running `Command { std: "docker" "start" "-a" "c6a2c7b5b7a5017e0e033ea81dcaea84d590dc5ac59b6a70b5f31c3ef9063b78", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.0.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.0.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling protoc-bin-vendored v3.0.0 [INFO] [stderr] Compiling libz-ng-sys v1.1.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling protobuf-support v3.2.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Compiling flechasdb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `flechasdb` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs [INFO] [stderr] * src/asyncdb/io.rs [INFO] [stderr] * src/asyncdb/stored/query.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/asyncdb/io.rs:248:26 [INFO] [stderr] | [INFO] [stderr] 248 | ($buf:ident, $amount:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/asyncdb/stored/query.rs:225:14 [INFO] [stderr] | [INFO] [stderr] 225 | ($event:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/distribution.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/asyncdb/io.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | ($buf:ident, $amount:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 248 | ($buf:ident, $amount:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/asyncdb/stored/query.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | ($event:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 225 | ($event:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl FnMut(query::QueryEvent)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/asyncdb/stored.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Query<'db, 'v, T, FS, V, impl FnMut(QueryEvent)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/asyncdb/stored.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'db, T, FS> Database [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn query<'v, V>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Query<'db, 'v, T, FS, V, impl FnMut(QueryEvent) + use> [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/db/proto.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(value) = self.value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/db/proto.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match self.value { Some(value) => { [INFO] [stdout] 29 | match value { [INFO] [stdout] ... [INFO] [stdout] 32 | } [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | Err(Error::InvalidData(format!("missing attribute value"))) [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/nbest.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(to_replace) = self.candidates [INFO] [stdout] | ^ --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _______________| [INFO] [stdout] | | [INFO] [stdout] 58 | | .iter_mut() [INFO] [stdout] 59 | | .find(|item| (self.f)(&candidate).lt(&(self.f)(item))) [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/nbest.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:902:15 [INFO] [stdout] | [INFO] [stdout] 902 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1079:15 [INFO] [stdout] | [INFO] [stdout] 1079 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1091:9 [INFO] [stdout] | [INFO] [stdout] 1091 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1227:15 [INFO] [stdout] | [INFO] [stdout] 1227 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1380:15 [INFO] [stdout] | [INFO] [stdout] 1380 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1392:9 [INFO] [stdout] | [INFO] [stdout] 1392 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/benchmark.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `flechasdb` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs [INFO] [stderr] * src/asyncdb/io.rs [INFO] [stderr] * src/asyncdb/stored/query.rs [INFO] [stderr] * src/linalg.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/asyncdb/io.rs:248:26 [INFO] [stderr] | [INFO] [stderr] 248 | ($buf:ident, $amount:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/asyncdb/stored/query.rs:225:14 [INFO] [stderr] | [INFO] [stderr] 225 | ($event:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linalg.rs:371:10 [INFO] [stderr] | [INFO] [stderr] 371 | ($actual:expr_2021, $expected:expr_2021, $err:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linalg.rs:371:29 [INFO] [stderr] | [INFO] [stderr] 371 | ($actual:expr_2021, $expected:expr_2021, $err:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linalg.rs:371:50 [INFO] [stderr] | [INFO] [stderr] 371 | ($actual:expr_2021, $expected:expr_2021, $err:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/distribution.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/asyncdb/io.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | ($buf:ident, $amount:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 248 | ($buf:ident, $amount:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/asyncdb/stored/query.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | ($event:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 225 | ($event:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linalg.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr, $expected:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr_2021, $expected:expr, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linalg.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr, $expected:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr, $expected:expr_2021, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linalg.rs:371:45 [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr, $expected:expr, $err:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 371 | ($actual:expr, $expected:expr, $err:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl FnMut(query::QueryEvent)` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/asyncdb/stored.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Query<'db, 'v, T, FS, V, impl FnMut(QueryEvent)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/asyncdb/stored.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'db, T, FS> Database [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn query<'v, V>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Query<'db, 'v, T, FS, V, impl FnMut(QueryEvent) + use> [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/db/proto.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(value) = self.value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/db/proto.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match self.value { Some(value) => { [INFO] [stdout] 29 | match value { [INFO] [stdout] ... [INFO] [stdout] 32 | } [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | Err(Error::InvalidData(format!("missing attribute value"))) [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/nbest.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(to_replace) = self.candidates [INFO] [stdout] | ^ --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | _______________| [INFO] [stdout] | | [INFO] [stdout] 58 | | .iter_mut() [INFO] [stdout] 59 | | .find(|item| (self.f)(&candidate).lt(&(self.f)(item))) [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/nbest.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:902:15 [INFO] [stdout] | [INFO] [stdout] 902 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1079:15 [INFO] [stdout] | [INFO] [stdout] 1079 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1091:9 [INFO] [stdout] | [INFO] [stdout] 1091 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1227:15 [INFO] [stdout] | [INFO] [stdout] 1227 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1380:15 [INFO] [stdout] | [INFO] [stdout] 1380 | while let Some(tag) = is.read_raw_tag_or_eof()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:1392:9 [INFO] [stdout] | [INFO] [stdout] 1392 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/benchmark.rs (1 fix) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/test-async.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.90s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling flechasdb v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/distribution.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/distribution.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 196 | let _ = rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/flechasdb-42153492cf553b57/out/protos/database.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flechasdb` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flechasdb` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c6a2c7b5b7a5017e0e033ea81dcaea84d590dc5ac59b6a70b5f31c3ef9063b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a2c7b5b7a5017e0e033ea81dcaea84d590dc5ac59b6a70b5f31c3ef9063b78", kill_on_drop: false }` [INFO] [stdout] c6a2c7b5b7a5017e0e033ea81dcaea84d590dc5ac59b6a70b5f31c3ef9063b78