[INFO] fetching crate persy 1.5.1... [INFO] checking persy-1.5.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate persy 1.5.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate persy 1.5.1 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] 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-0-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e968e590356e5f5fd9d62a749a0f11b8518e9563f23a68ff9d1ca53d68e714 [INFO] running `Command { std: "docker" "start" "-a" "20e968e590356e5f5fd9d62a749a0f11b8518e9563f23a68ff9d1ca53d68e714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e968e590356e5f5fd9d62a749a0f11b8518e9563f23a68ff9d1ca53d68e714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e968e590356e5f5fd9d62a749a0f11b8518e9563f23a68ff9d1ca53d68e714", kill_on_drop: false }` [INFO] [stdout] 20e968e590356e5f5fd9d62a749a0f11b8518e9563f23a68ff9d1ca53d68e714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52c648b8ecb0333c1836786914bbe86c1f116f55bb07d9481a1f0046f1ac4ec6 [INFO] running `Command { std: "docker" "start" "-a" "52c648b8ecb0333c1836786914bbe86c1f116f55bb07d9481a1f0046f1ac4ec6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zigzag v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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: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] = note: requested on the command line with `-D tail-expr-drop-order` [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 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `persy` (lib) due to 2 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 `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] = 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] 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] 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 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `persy` (lib test) due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52c648b8ecb0333c1836786914bbe86c1f116f55bb07d9481a1f0046f1ac4ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c648b8ecb0333c1836786914bbe86c1f116f55bb07d9481a1f0046f1ac4ec6", kill_on_drop: false }` [INFO] [stdout] 52c648b8ecb0333c1836786914bbe86c1f116f55bb07d9481a1f0046f1ac4ec6