[INFO] fetching crate persy 1.5.1... [INFO] checking persy-1.5.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate persy 1.5.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate persy 1.5.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate persy 1.5.1 [INFO] finished tweaking crates.io crate persy 1.5.1 [INFO] tweaked toml for crates.io crate persy 1.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate persy 1.5.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5ed837eac183e62be0849d8468d402527e8ce5cd2e9e1976d67066b570cae10 [INFO] running `Command { std: "docker" "start" "-a" "f5ed837eac183e62be0849d8468d402527e8ce5cd2e9e1976d67066b570cae10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5ed837eac183e62be0849d8468d402527e8ce5cd2e9e1976d67066b570cae10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ed837eac183e62be0849d8468d402527e8ce5cd2e9e1976d67066b570cae10", kill_on_drop: false }` [INFO] [stdout] f5ed837eac183e62be0849d8468d402527e8ce5cd2e9e1976d67066b570cae10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f22eff329ada23c9d6dcb0cc7c7e068decebb0953bcb874f6774efef81d1c62 [INFO] running `Command { std: "docker" "start" "-a" "9f22eff329ada23c9d6dcb0cc7c7e068decebb0953bcb874f6774efef81d1c62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zigzag v0.1.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking persy v1.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 364 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 378 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:401:23 [INFO] [stdout] | [INFO] [stdout] 401 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persy.rs:443:31 [INFO] [stdout] | [INFO] [stdout] 442 | fn read_page_fn>(&self, match_id: &RecRef, page: u64, f: F) -> PERes> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | if let Some(mut pg) = self.allocator.load_page_not_free(page)? { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persy.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 538 | f: F, [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | if let Some(record) = self.read_page_fn(rec_ref, change.pos, f)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_u128`, `write_i8`, `write_i16`, `write_i32`, `write_i64`, and `write_i128` are never used [INFO] [stdout] --> src/io.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) trait InfallibleWriteFormat: InfallibleWrite { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 164 | fn write_u128(&mut self, value: u128) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn write_i8(&mut self, value: i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn write_i16(&mut self, value: i16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn write_i32(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn write_i64(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn write_i128(&mut self, value: i128) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u128`, `read_i8`, `read_i16`, `read_i32`, `read_i64`, and `read_i128` are never used [INFO] [stdout] --> src/io.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) trait InfallibleReadFormat: InfallibleRead { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 242 | fn read_u128(&mut self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn read_i8(&mut self) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn read_i16(&mut self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn read_i32(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn read_i64(&mut self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn read_i128(&mut self) -> i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WriteFormat` is never used [INFO] [stdout] --> src/io.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | pub(crate) trait WriteFormat: Write { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/io.rs:459:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub(crate) trait ReadFormat: Read { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 459 | fn read_u16(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | fn read_u32(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn read_u64(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn read_u128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | fn read_i8(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn read_i16(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | fn read_i32(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | fn read_i64(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | fn read_i128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn read_f32(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | fn read_f64(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_varint_u128`, `read_varint_i8`, `read_varint_i16`, `read_varint_i32`, `read_varint_i64`, and `read_varint_i128` are never used [INFO] [stdout] --> src/io.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 538 | pub(crate) trait ReadVarInt: Read { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 560 | fn read_varint_u128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | fn read_varint_i8(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | fn read_varint_i16(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | fn read_varint_i32(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | fn read_varint_i64(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | fn read_varint_i128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `persy` (lib) due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 364 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 378 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:401:23 [INFO] [stdout] | [INFO] [stdout] 401 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> src/error.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "unstable")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `background_ops`, `backtrace`, `experimental_inspect`, `index_container_static`, and `test_backtraces` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/allocator/tests.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 58 | let mut cache = Cache::new(1050 as u64, Duration::from_secs(3600)); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match cache.get(ten) { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/allocator/tests.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 83 | let mut cache = Cache::new(1050 as u64, Duration::from_secs(3600)); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | match cache.get(ten) { [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 `Leaf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index/tests/serialization.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 37 | fn single_type_leaf_test(key: K, value: V, value1: V) { [INFO] [stdout] | --- ----- ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let read = deserialize::(ArcSliceRead::new(Arc::new(binary), 0, bl)); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let read = deserialize::(ArcSliceRead::new(Arc::new(binary), 0, bl)); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | match read { [INFO] [stdout] 65 | Node::Leaf(n) => { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persy.rs:443:31 [INFO] [stdout] | [INFO] [stdout] 442 | fn read_page_fn>(&self, match_id: &RecRef, page: u64, f: F) -> PERes> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | if let Some(mut pg) = self.allocator.load_page_not_free(page)? { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/persy.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 538 | f: F, [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | if let Some(record) = self.read_page_fn(rec_ref, change.pos, f)? { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transaction.rs:712:37 [INFO] [stdout] | [INFO] [stdout] 711 | pub(crate) fn leak(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 712 | if let Some(mut finalize) = self.finalize.take() { [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 `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:672:15 [INFO] [stdout] | [INFO] [stdout] 660 | let persy = OpenOptions::new().memory().unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 672 | match read_after.err() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_varint_u128`, `read_varint_i8`, `read_varint_i16`, `read_varint_i32`, `read_varint_i64`, and `read_varint_i128` are never used [INFO] [stdout] --> src/io.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 538 | pub(crate) trait ReadVarInt: Read { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 560 | fn read_varint_u128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | fn read_varint_i8(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | fn read_varint_i16(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | fn read_varint_i32(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | fn read_varint_i64(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | fn read_varint_i128(&mut self) -> PERes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/io.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn test_infallible_format() { [INFO] [stdout] | ------------------------------- move the `impl` block outside of this function `test_infallible_format` [INFO] [stdout] ... [INFO] [stdout] 629 | impl InfallibleRead for Cursor> { [INFO] [stdout] | ^^^^^--------------^^^^^------^---^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Vec` is not local [INFO] [stdout] | | `Cursor` is not local [INFO] [stdout] | `InfallibleRead` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `persy` (lib test) due to 8 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f22eff329ada23c9d6dcb0cc7c7e068decebb0953bcb874f6774efef81d1c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f22eff329ada23c9d6dcb0cc7c7e068decebb0953bcb874f6774efef81d1c62", kill_on_drop: false }` [INFO] [stdout] 9f22eff329ada23c9d6dcb0cc7c7e068decebb0953bcb874f6774efef81d1c62