[INFO] cloning repository https://github.com/PaulGrandperrin/playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaulGrandperrin/playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fplayground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fplayground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 572ff41ccdfa72771a37fd9ab89f37e9b5451041 [INFO] checking PaulGrandperrin/playground/572ff41ccdfa72771a37fd9ab89f37e9b5451041 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulGrandperrin%2Fplayground" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PaulGrandperrin/playground on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PaulGrandperrin/playground [INFO] finished tweaking git repo https://github.com/PaulGrandperrin/playground [INFO] tweaked toml for git repo https://github.com/PaulGrandperrin/playground written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PaulGrandperrin/playground 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acd865ad6a14895706b542dd3ea314b5f504ca219eb05e7aaaaad78ba984d955 [INFO] running `Command { std: "docker" "start" "-a" "acd865ad6a14895706b542dd3ea314b5f504ca219eb05e7aaaaad78ba984d955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd865ad6a14895706b542dd3ea314b5f504ca219eb05e7aaaaad78ba984d955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd865ad6a14895706b542dd3ea314b5f504ca219eb05e7aaaaad78ba984d955", kill_on_drop: false }` [INFO] [stdout] acd865ad6a14895706b542dd3ea314b5f504ca219eb05e7aaaaad78ba984d955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3ab97ac8ab910d17c87baa288458e6c2693f38427a45341c82d2a6dfdeb6012 [INFO] running `Command { std: "docker" "start" "-a" "c3ab97ac8ab910d17c87baa288458e6c2693f38427a45341c82d2a6dfdeb6012", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling backtrace v0.3.26 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking color-backtrace v0.1.3 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/algorithm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Insert` [INFO] [stdout] --> src/algorithm.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::non_volatile::object::tree::{BufferNode, Message, Insert}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/algorithm.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/algorithm.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | if (num_of_candidates_for_cur_child > BUF_SIZE) { // BIG TODO find a better heuristic [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 302 - if (num_of_candidates_for_cur_child > BUF_SIZE) { // BIG TODO find a better heuristic [INFO] [stdout] 302 + if num_of_candidates_for_cur_child > BUF_SIZE { // BIG TODO find a better heuristic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_volatile::object::object_type::ObjectType` [INFO] [stdout] --> src/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::non_volatile::object::object_type::ObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeafNode`, `LeafType`, and `NodeEntry` [INFO] [stdout] --> src/context.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::non_volatile::object::tree::{LeafNode, LeafType, NodeEntry, Message, Insert}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/non_volatile/object/any_rc_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/non_volatile/object/any_rc_object.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/non_volatile/object/object_pointer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/non_volatile/object/object_pointer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/non_volatile/object/tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `SeqAccess`, `Visitor`, and `self` [INFO] [stdout] --> src/non_volatile/object/tree.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::de::{self, Deserialize, Deserializer, SeqAccess, Visitor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct`, `Serialize`, and `Serializer` [INFO] [stdout] --> src/non_volatile/object/tree.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::ser::{Serialize, SerializeStruct, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/non_volatile/object/tree/internal_node.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | _p: std::marker::PhantomData<(K)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - _p: std::marker::PhantomData<(K)>, [INFO] [stdout] 45 + _p: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any_node::AnyNode` [INFO] [stdout] --> src/non_volatile/object/tree.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use any_node::AnyNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::format_err` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::format_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/algorithm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Insert` [INFO] [stdout] --> src/algorithm.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::non_volatile::object::tree::{BufferNode, Message, Insert}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/algorithm.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/algorithm.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | if (num_of_candidates_for_cur_child > BUF_SIZE) { // BIG TODO find a better heuristic [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 302 - if (num_of_candidates_for_cur_child > BUF_SIZE) { // BIG TODO find a better heuristic [INFO] [stdout] 302 + if num_of_candidates_for_cur_child > BUF_SIZE { // BIG TODO find a better heuristic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::non_volatile::object::object_type::ObjectType` [INFO] [stdout] --> src/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::non_volatile::object::object_type::ObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeafNode`, `LeafType`, and `NodeEntry` [INFO] [stdout] --> src/context.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::non_volatile::object::tree::{LeafNode, LeafType, NodeEntry, Message, Insert}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/non_volatile/object/any_rc_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/non_volatile/object/any_rc_object.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/non_volatile/object/object_pointer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/non_volatile/object/object_pointer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/non_volatile/object/tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `SeqAccess`, `Visitor`, and `self` [INFO] [stdout] --> src/non_volatile/object/tree.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::de::{self, Deserialize, Deserializer, SeqAccess, Visitor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct`, `Serialize`, and `Serializer` [INFO] [stdout] --> src/non_volatile/object/tree.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::ser::{Serialize, SerializeStruct, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/non_volatile/object/tree/internal_node.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | _p: std::marker::PhantomData<(K)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - _p: std::marker::PhantomData<(K)>, [INFO] [stdout] 45 + _p: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any_node::AnyNode` [INFO] [stdout] --> src/non_volatile/object/tree.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use any_node::AnyNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::format_err` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use failure::format_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/non_volatile/object/uberblock.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | non_exhaustive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | uniform_paths, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `dbg_macro` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | dbg_macro, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | try_from, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | fn process_sortedmap(sm: &mut SortedMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn process_sortedmap(sm: &mut dyn SortedMap<&str, &str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | non_exhaustive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | uniform_paths, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `dbg_macro` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | dbg_macro, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | try_from, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | fn process_sortedmap(sm: &mut SortedMap<&str, &str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | fn process_sortedmap(sm: &mut dyn SortedMap<&str, &str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 31 | ctx.commit(); [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/non_volatile/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 31 | ctx.commit(); [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::ConstObjType` [INFO] [stdout] --> src/non_volatile/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::common::ConstObjType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/cache/basic.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|o| o.clone().try_into().unwrap()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/manager.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(obj: O) -> (Self, ObjectPointer) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | // initialization [INFO] [stdout] 31 | let mut nv_blk_dev = FileBackend::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | / Self { [INFO] [stdout] 56 | | nv_blk_dev: FileBackend::new(), [INFO] [stdout] 57 | | txg, [INFO] [stdout] 58 | | fso, [INFO] [stdout] 59 | | ccache, [INFO] [stdout] 60 | | }, [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: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | nv_blk_dev.write(i * Uberblock::RAW_SIZE as u64, &ub_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = nv_blk_dev.write(i * Uberblock::RAW_SIZE as u64, &ub_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/manager.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut nv_blk_dev = FileBackend::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / Self { [INFO] [stdout] 89 | | nv_blk_dev, [INFO] [stdout] 90 | | txg, [INFO] [stdout] 91 | | fso: ub.fso, [INFO] [stdout] 92 | | ccache, [INFO] [stdout] 93 | | }, [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: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | self.nv_blk_dev.write(ub_offset, &ub_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = self.nv_blk_dev.write(ub_offset, &ub_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | nv_blk_dev.write(offset, &obj_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = nv_blk_dev.write(offset, &obj_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/internal_node.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(InternalNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | entries, [INFO] [stdout] 71 | | buffer_ptr, [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/leaf_node.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(LeafNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | entries, [INFO] [stdout] 68 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(BufferNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 75 | | entries, [INFO] [stdout] 76 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/cache/basic.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|o| o.clone().try_into().unwrap()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/manager.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(obj: O) -> (Self, ObjectPointer) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | // initialization [INFO] [stdout] 31 | let mut nv_blk_dev = FileBackend::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | / Self { [INFO] [stdout] 56 | | nv_blk_dev: FileBackend::new(), [INFO] [stdout] 57 | | txg, [INFO] [stdout] 58 | | fso, [INFO] [stdout] 59 | | ccache, [INFO] [stdout] 60 | | }, [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 7 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | nv_blk_dev.write(i * Uberblock::RAW_SIZE as u64, &ub_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = nv_blk_dev.write(i * Uberblock::RAW_SIZE as u64, &ub_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/manager.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut nv_blk_dev = FileBackend::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / Self { [INFO] [stdout] 89 | | nv_blk_dev, [INFO] [stdout] 90 | | txg, [INFO] [stdout] 91 | | fso: ub.fso, [INFO] [stdout] 92 | | ccache, [INFO] [stdout] 93 | | }, [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: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | self.nv_blk_dev.write(ub_offset, &ub_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = self.nv_blk_dev.write(ub_offset, &ub_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `FileBackend::write` that must be used [INFO] [stdout] --> src/non_volatile/manager.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | nv_blk_dev.write(offset, &obj_raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = nv_blk_dev.write(offset, &obj_raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/internal_node.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(InternalNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | entries, [INFO] [stdout] 71 | | buffer_ptr, [INFO] [stdout] 72 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `playground` (bin "playground") due to 8 previous errors; 33 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/leaf_node.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(LeafNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 67 | | entries, [INFO] [stdout] 68 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/non_volatile/object/tree/buffer_node.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_seq(self, mut seq: S) -> Result, S::Error> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let entries = seq [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(BufferNode { [INFO] [stdout] | ____________________^ [INFO] [stdout] 75 | | entries, [INFO] [stdout] 76 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 7 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `playground` (bin "playground" test) due to 8 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3ab97ac8ab910d17c87baa288458e6c2693f38427a45341c82d2a6dfdeb6012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ab97ac8ab910d17c87baa288458e6c2693f38427a45341c82d2a6dfdeb6012", kill_on_drop: false }` [INFO] [stdout] c3ab97ac8ab910d17c87baa288458e6c2693f38427a45341c82d2a6dfdeb6012