[INFO] fetching crate lsm-tree 2.0.0-pre.0... [INFO] checking lsm-tree-2.0.0-pre.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lsm-tree 2.0.0-pre.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate lsm-tree 2.0.0-pre.0 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 crates.io crate lsm-tree 2.0.0-pre.0 [INFO] finished tweaking crates.io crate lsm-tree 2.0.0-pre.0 [INFO] tweaked toml for crates.io crate lsm-tree 2.0.0-pre.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220bf4a51d4108d0f6f902df1693a3d3468e4160149f8ff63da4c270d402366c [INFO] running `Command { std: "docker" "start" "-a" "220bf4a51d4108d0f6f902df1693a3d3468e4160149f8ff63da4c270d402366c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220bf4a51d4108d0f6f902df1693a3d3468e4160149f8ff63da4c270d402366c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220bf4a51d4108d0f6f902df1693a3d3468e4160149f8ff63da4c270d402366c", kill_on_drop: false }` [INFO] [stdout] 220bf4a51d4108d0f6f902df1693a3d3468e4160149f8ff63da4c270d402366c [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5f09ca4a88d037245cc1c0c33473c335a97b87f0b5ea9342acb2bd5dad4ef9 [INFO] running `Command { std: "docker" "start" "-a" "eb5f09ca4a88d037245cc1c0c33473c335a97b87f0b5ea9342acb2bd5dad4ef9", 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 serde v1.0.210 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking guardian v1.2.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking varint-rs v2.2.0 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking double-ended-peekable v0.1.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking quick_cache v0.6.9 [INFO] [stderr] Checking value-log v1.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lsm-tree v2.0.0-pre.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lsm_tree` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/memtable/mod.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/lib.rs:107:6 [INFO] [stderr] | [INFO] [stderr] 107 | ($e: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: elided lifetime has a name [INFO] [stderr] --> src/memtable/mod.rs:67:59 [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | ($e: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] 107 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/memtable/mod.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(segment) = segment_map.get(&segment_id).cloned() { [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/compaction/worker.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | } [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] 91 ~ match segment_map.get(&segment_id).cloned() { Some(segment) => { [INFO] [stdout] 92 | for level in recipe.iter_mut() { [INFO] [stdout] ... [INFO] [stdout] 99 | .insert(segment); [INFO] [stdout] 100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | if let Err(e) = std::fs::remove_file(segment_file_path) { [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/compaction/worker.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 331 ~ match std::fs::remove_file(segment_file_path) { Err(e) => { [INFO] [stdout] 332 | log::error!("Failed to cleanup file of deleted segment: {e:?}"); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if let Err(e) = std::fs::remove_file(segment_file_path) { [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/compaction/worker.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ match std::fs::remove_file(segment_file_path) { Err(e) => { [INFO] [stdout] 390 | log::error!("Failed to cleanup file of deleted segment: {e:?}"); [INFO] [stdout] 391 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor_table/mod.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(oldest) = lru.get_least_recently_used() { [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/descriptor_table/mod.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match lru.get_least_recently_used() { Some(oldest) => { [INFO] [stdout] 151 | if &oldest != id { [INFO] [stdout] ... [INFO] [stdout] 162 | } [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | break; [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/block_index/two_level_index.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(block) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 129 | || .index_block_fetcher [INFO] [stdout] 130 | || .get(self.segment_id, block_handle.offset) [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] | [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/segment/block_index/two_level_index.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match self [INFO] [stdout] 129 | .index_block_fetcher [INFO] [stdout] 130 | .get(self.segment_id, block_handle.offset) [INFO] [stdout] 131 ~ { Some(block) => { [INFO] [stdout] 132 | // Cache hit: Copy from block [INFO] [stdout] 133 | [INFO] [stdout] 134 | Ok(block) [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | // Cache miss: load from disk [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(block) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/reader.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(item) = self.hi_block_items.as_mut()?.next_back() { [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/segment/reader.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 246 ~ match self.hi_block_items.as_mut()?.next_back() { Some(item) => { [INFO] [stdout] 247 | return Some(Ok(item)); [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/value_block.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(block) = block_cache.get_disk_block(segment_id, offset) { [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/segment/value_block.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match block_cache.get_disk_block(segment_id, offset) { Some(block) => { [INFO] [stdout] 44 | // Cache hit: Copy from block [INFO] [stdout] 45 | [INFO] [stdout] 46 | Some(block) [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | // Cache miss: load from disk [INFO] [stdout] ... [INFO] [stdout] 74 | Some(block) [INFO] [stdout] 75 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static { [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] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 164 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:598:16 [INFO] [stdout] | [INFO] [stdout] 598 | if let Some(entry) = memtable.get(&key, seqno) { [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/tree/mod.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 598 ~ match memtable.get(&key, seqno) { Some(entry) => { [INFO] [stdout] 599 | return Some(entry); [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:622:20 [INFO] [stdout] | [INFO] [stdout] 622 | if let Some(segment) = level.get_segment_containing_key(&key) { [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/tree/mod.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 622 ~ match level.get_segment_containing_key(&key) { Some(segment) => { [INFO] [stdout] 623 | #[cfg(not(feature = "bloom"))] [INFO] [stdout] ... [INFO] [stdout] 633 | } [INFO] [stdout] 634 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:628:24 [INFO] [stdout] | [INFO] [stdout] 628 | if let Some(item) = maybe_item { [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/tree/mod.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 628 ~ match maybe_item { Some(item) => { [INFO] [stdout] 629 | if evict_tombstone { [INFO] [stdout] ... [INFO] [stdout] 632 | return Ok(Some(item)); [INFO] [stdout] 633 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:643:24 [INFO] [stdout] | [INFO] [stdout] 643 | if let Some(item) = maybe_item { [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/tree/mod.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 643 ~ match maybe_item { Some(item) => { [INFO] [stdout] 644 | if evict_tombstone { [INFO] [stdout] ... [INFO] [stdout] 647 | return Ok(Some(item)); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:693:10 [INFO] [stdout] | [INFO] [stdout] 693 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 693 | ) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:703:10 [INFO] [stdout] | [INFO] [stdout] 703 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn create_range<'a, K: AsRef<[u8]> + 'a, R: RangeBounds + 'a>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 703 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:748:10 [INFO] [stdout] | [INFO] [stdout] 748 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:743:26 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn create_prefix<'a, K: AsRef<[u8]> + 'a>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 748 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | ($e: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] 107 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `lsm_tree` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compaction/stream.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/memtable/mod.rs [INFO] [stderr] * src/mvcc_stream.rs [INFO] [stderr] * src/segment/value_block_consumer.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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compaction/stream.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | ($($key:expr, $sub_key:expr, $value_type: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] 107 | ($($key:expr_2021, $sub_key:expr, $value_type:expr),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compaction/stream.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | ($($key:expr, $sub_key:expr, $value_type: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] 107 | ($($key:expr, $sub_key:expr_2021, $value_type:expr),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compaction/stream.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 107 | ($($key:expr, $sub_key:expr, $value_type: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] 107 | ($($key:expr, $sub_key:expr, $value_type:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:107:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compaction/stream.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | ($iter: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] 134 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/memtable/mod.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 107 | ($e: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/compaction/stream.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 107 | ($($key:expr_2021, $sub_key:expr_2021, $value_type:expr_2021),* $(,)?) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mvcc_stream.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | ($($key:expr, $sub_key:expr, $value_type: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] 102 | ($($key:expr_2021, $sub_key:expr, $value_type:expr),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mvcc_stream.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | ($($key:expr, $sub_key:expr, $value_type: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] 102 | ($($key:expr, $sub_key:expr_2021, $value_type:expr),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mvcc_stream.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | ($($key:expr, $sub_key:expr, $value_type: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] 102 | ($($key:expr, $sub_key:expr, $value_type:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mvcc_stream.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | ($iter: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] 125 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/mvcc_stream.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | ($v: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] 136 | ($v:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/segment/value_block_consumer.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | ($iter: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] 100 | ($iter:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/compaction/stream.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | ($($key:expr_2021, $sub_key:expr_2021, $value_type: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/compaction/stream.rs:107:48 [INFO] [stderr] | [INFO] [stderr] 107 | ($($key:expr_2021, $sub_key:expr_2021, $value_type: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/compaction/stream.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | ($iter: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/mvcc_stream.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | ($($key:expr_2021, $sub_key:expr_2021, $value_type: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/mvcc_stream.rs:102:26 [INFO] [stderr] | [INFO] [stderr] 102 | ($($key:expr_2021, $sub_key:expr_2021, $value_type:expr_2021),* $(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(segment) = segment_map.get(&segment_id).cloned() { [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/compaction/worker.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | } [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] 91 ~ match segment_map.get(&segment_id).cloned() { Some(segment) => { [INFO] [stdout] 92 | for level in recipe.iter_mut() { [INFO] [stdout] ... [INFO] [stdout] 99 | .insert(segment); [INFO] [stdout] 100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/mvcc_stream.rs:102:46 [INFO] [stderr] | [INFO] [stderr] 102 | ($($key:expr_2021, $sub_key:expr_2021, $value_type:expr_2021),* $(,)?) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | if let Err(e) = std::fs::remove_file(segment_file_path) { [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/compaction/worker.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 331 ~ match std::fs::remove_file(segment_file_path) { Err(e) => { [INFO] [stdout] 332 | log::error!("Failed to cleanup file of deleted segment: {e:?}"); [INFO] [stdout] 333 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/mvcc_stream.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | ($iter:expr_2021) => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compaction/worker.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if let Err(e) = std::fs::remove_file(segment_file_path) { [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/compaction/worker.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ match std::fs::remove_file(segment_file_path) { Err(e) => { [INFO] [stdout] 390 | log::error!("Failed to cleanup file of deleted segment: {e:?}"); [INFO] [stdout] 391 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/descriptor_table/mod.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(oldest) = lru.get_least_recently_used() { [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/descriptor_table/mod.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match lru.get_least_recently_used() { Some(oldest) => { [INFO] [stdout] 151 | if &oldest != id { [INFO] [stdout] ... [INFO] [stdout] 162 | } [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | break; [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/mvcc_stream.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | ($v: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/segment/value_block_consumer.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | ($iter: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: elided lifetime has a name [INFO] [stderr] --> src/memtable/mod.rs:67:59 [INFO] [stderr] | [INFO] [stderr] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/block_index/two_level_index.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(block) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 129 | || .index_block_fetcher [INFO] [stdout] 130 | || .get(self.segment_id, block_handle.offset) [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] | [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/segment/block_index/two_level_index.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match self [INFO] [stdout] 129 | .index_block_fetcher [INFO] [stdout] 130 | .get(self.segment_id, block_handle.offset) [INFO] [stdout] 131 ~ { Some(block) => { [INFO] [stdout] 132 | // Cache hit: Copy from block [INFO] [stdout] 133 | [INFO] [stdout] 134 | Ok(block) [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | // Cache miss: load from disk [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(block) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/reader.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(item) = self.hi_block_items.as_mut()?.next_back() { [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/segment/reader.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 246 ~ match self.hi_block_items.as_mut()?.next_back() { Some(item) => { [INFO] [stdout] 247 | return Some(Ok(item)); [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/segment/value_block.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(block) = block_cache.get_disk_block(segment_id, offset) { [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/segment/value_block.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match block_cache.get_disk_block(segment_id, offset) { Some(block) => { [INFO] [stdout] 44 | // Cache hit: Copy from block [INFO] [stdout] 45 | [INFO] [stdout] 46 | Some(block) [INFO] [stdout] 47 ~ } _ => { [INFO] [stdout] 48 | // Cache miss: load from disk [INFO] [stdout] ... [INFO] [stdout] 74 | Some(block) [INFO] [stdout] 75 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static { [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] 81 | pub fn iter(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 108 | pub fn keys(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 135 | pub fn values(&self) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 164 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/snapshot.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/snapshot.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:598:16 [INFO] [stdout] | [INFO] [stdout] 598 | if let Some(entry) = memtable.get(&key, seqno) { [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/tree/mod.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 598 ~ match memtable.get(&key, seqno) { Some(entry) => { [INFO] [stdout] 599 | return Some(entry); [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:622:20 [INFO] [stdout] | [INFO] [stdout] 622 | if let Some(segment) = level.get_segment_containing_key(&key) { [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/tree/mod.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 622 ~ match level.get_segment_containing_key(&key) { Some(segment) => { [INFO] [stdout] 623 | #[cfg(not(feature = "bloom"))] [INFO] [stdout] ... [INFO] [stdout] 633 | } [INFO] [stdout] 634 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:628:24 [INFO] [stdout] | [INFO] [stdout] 628 | if let Some(item) = maybe_item { [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/tree/mod.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 628 ~ match maybe_item { Some(item) => { [INFO] [stdout] 629 | if evict_tombstone { [INFO] [stdout] ... [INFO] [stdout] 632 | return Ok(Some(item)); [INFO] [stdout] 633 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:643:24 [INFO] [stdout] | [INFO] [stdout] 643 | if let Some(item) = maybe_item { [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/tree/mod.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 643 ~ match maybe_item { Some(item) => { [INFO] [stdout] 644 | if evict_tombstone { [INFO] [stdout] ... [INFO] [stdout] 647 | return Ok(Some(item)); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:693:10 [INFO] [stdout] | [INFO] [stdout] 693 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 693 | ) -> impl DoubleEndedIterator> + 'static + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:703:10 [INFO] [stdout] | [INFO] [stdout] 703 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn create_range<'a, K: AsRef<[u8]> + 'a, R: RangeBounds + 'a>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 703 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator> + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/tree/mod.rs:748:10 [INFO] [stdout] | [INFO] [stdout] 748 | ) -> impl DoubleEndedIterator> + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/tree/mod.rs:743:26 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn create_prefix<'a, K: AsRef<[u8]> + 'a>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 748 | ) -> impl DoubleEndedIterator> + 'static + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.98s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lsm-tree v2.0.0-pre.0 (/tmp/fixit) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/memtable/mod.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range` does not live long enough [INFO] [stdout] --> src/tree/mod.rs:750:27 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn create_prefix<'a, K: AsRef<[u8]> + 'a>( [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 749 | let range = prefix_to_range(prefix.as_ref()); [INFO] [stdout] | ----- binding `range` declared here [INFO] [stdout] 750 | self.create_range(&range, seqno, ephemeral) [INFO] [stdout] | ------------------^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `range` is borrowed for `'a` [INFO] [stdout] 751 | } [INFO] [stdout] | - `range` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/memtable/mod.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) fn range<'a, R: RangeBounds + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | ) -> impl DoubleEndedIterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range` does not live long enough [INFO] [stdout] --> src/tree/mod.rs:750:27 [INFO] [stdout] | [INFO] [stdout] 743 | pub fn create_prefix<'a, K: AsRef<[u8]> + 'a>( [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 749 | let range = prefix_to_range(prefix.as_ref()); [INFO] [stdout] | ----- binding `range` declared here [INFO] [stdout] 750 | self.create_range(&range, seqno, ephemeral) [INFO] [stdout] | ------------------^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `range` is borrowed for `'a` [INFO] [stdout] 751 | } [INFO] [stdout] | - `range` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm-tree` (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] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm-tree` (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" "eb5f09ca4a88d037245cc1c0c33473c335a97b87f0b5ea9342acb2bd5dad4ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5f09ca4a88d037245cc1c0c33473c335a97b87f0b5ea9342acb2bd5dad4ef9", kill_on_drop: false }` [INFO] [stdout] eb5f09ca4a88d037245cc1c0c33473c335a97b87f0b5ea9342acb2bd5dad4ef9