[INFO] cloning repository https://github.com/KKKZOZ/mini-lsm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KKKZOZ/mini-lsm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKKKZOZ%2Fmini-lsm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKKKZOZ%2Fmini-lsm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ed8e903df13cede8a970365134eed1aa860dc51 [INFO] checking KKKZOZ/mini-lsm/5ed8e903df13cede8a970365134eed1aa860dc51 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKKKZOZ%2Fmini-lsm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KKKZOZ/mini-lsm on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/KKKZOZ/mini-lsm [INFO] finished tweaking git repo https://github.com/KKKZOZ/mini-lsm [INFO] tweaked toml for git repo https://github.com/KKKZOZ/mini-lsm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KKKZOZ/mini-lsm 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9504f3e2b1e24cdd11e02ccc05c87756a19f9e25b20a0b6ac422352e8772b662 [INFO] running `Command { std: "docker" "start" "-a" "9504f3e2b1e24cdd11e02ccc05c87756a19f9e25b20a0b6ac422352e8772b662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9504f3e2b1e24cdd11e02ccc05c87756a19f9e25b20a0b6ac422352e8772b662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9504f3e2b1e24cdd11e02ccc05c87756a19f9e25b20a0b6ac422352e8772b662", kill_on_drop: false }` [INFO] [stdout] 9504f3e2b1e24cdd11e02ccc05c87756a19f9e25b20a0b6ac422352e8772b662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0b347c356e1344728aaba87c6d61a22102d8029cb0881229c00c4c851f15b9c [INFO] running `Command { std: "docker" "start" "-a" "a0b347c356e1344728aaba87c6d61a22102d8029cb0881229c00c4c851f15b9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking raw-cpuid v10.6.0 [INFO] [stderr] Compiling moka v0.9.6 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking clap_builder v4.4.17 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking triomphe v0.1.8 [INFO] [stderr] Checking farmhash v1.1.5 [INFO] [stderr] Checking arc-swap v1.5.1 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking quanta v0.10.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking os_pipe v1.1.2 [INFO] [stderr] Checking console v0.15.2 [INFO] [stderr] Checking duct v0.13.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.2.2 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking rustyline v13.0.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling ouroboros_macro v0.18.2 [INFO] [stderr] Checking ouroboros v0.18.2 [INFO] [stderr] Checking clap v4.4.17 [INFO] [stderr] Checking mini-lsm-xtask v0.2.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking mini-lsm v0.2.0 (/opt/rustwide/workdir/mini-lsm) [INFO] [stderr] Checking mini-lsm-mvcc v0.2.0 (/opt/rustwide/workdir/mini-lsm-mvcc) [INFO] [stderr] Checking mini-lsm-starter v0.2.0 (/opt/rustwide/workdir/mini-lsm-starter) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> mini-lsm-starter/src/lsm_storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expect_iter_error(mut iter: impl StorageIterator) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | loop { [INFO] [stdout] 175 | match iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_error` are never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl MockIterator { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 28 | pub fn new(data: Vec<(Bytes, Bytes)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_with_error(data: Vec<(Bytes, Bytes)>, error_when: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_iter_result_by_key` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn check_iter_result_by_key(iter: &mut I, expected: Vec<(Bytes, Bytes)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_lsm_iter_result_by_key` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn check_lsm_iter_result_by_key(iter: &mut I, expected: Vec<(Bytes, Bytes)>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_iter_error` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expect_iter_error(mut iter: impl StorageIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_sst` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn generate_sst( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn sync(storage: &LsmStorageInner) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compaction_bench` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn compaction_bench(storage: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_compaction_ratio` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn check_compaction_ratio(storage: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dump_files_in_dir` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn dump_files_in_dir(path: impl AsRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_merge_iterator_over_storage` is never used [INFO] [stdout] --> mini-lsm-starter/src/tests/harness.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn construct_merge_iterator_over_storage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-lsm-starter` (lib test) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm/src/tests/harness.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expect_iter_error(mut iter: impl StorageIterator) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | loop { [INFO] [stdout] 175 | match iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `MemTableIterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm/src/tests/week1_day2.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 19 | let memtable = MemTable::create(0); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut iter = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm/src/tests/week1_day4.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 83 | let (_dir, sst) = generate_sst(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let sst = Arc::new(sst); [INFO] [stdout] 85 | let mut iter = SsTableIterator::create_and_seek_to_first(sst).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | as_bytes(key_of(i).for_testing_key_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm/src/tests/week1_day4.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 112 | let (_dir, sst) = generate_sst(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let sst = Arc::new(sst); [INFO] [stdout] 114 | let mut iter = SsTableIterator::create_and_seek_to_key(sst, key_of(0).as_key_slice()).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | as_bytes(key_of(i).for_testing_key_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm-mvcc/src/tests/harness.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn expect_iter_error(mut iter: impl StorageIterator) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | loop { [INFO] [stdout] 175 | match iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `MemTableIterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm-mvcc/src/tests/week1_day2.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 19 | let memtable = MemTable::create(0); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut iter = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-lsm` (lib test) due to 5 previous errors [INFO] [stdout] error: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm-mvcc/src/tests/week1_day4.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 83 | let (_dir, sst) = generate_sst(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let sst = Arc::new(sst); [INFO] [stdout] 85 | let mut iter = SsTableIterator::create_and_seek_to_first(sst).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | as_bytes(key_of(i).for_testing_key_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mini-lsm-mvcc/src/tests/week1_day4.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 112 | let (_dir, sst) = generate_sst(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let sst = Arc::new(sst); [INFO] [stdout] 114 | let mut iter = SsTableIterator::create_and_seek_to_key(sst, key_of(0).as_key_slice()).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | as_bytes(key_of(i).for_testing_key_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-lsm-mvcc` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a0b347c356e1344728aaba87c6d61a22102d8029cb0881229c00c4c851f15b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b347c356e1344728aaba87c6d61a22102d8029cb0881229c00c4c851f15b9c", kill_on_drop: false }` [INFO] [stdout] a0b347c356e1344728aaba87c6d61a22102d8029cb0881229c00c4c851f15b9c