[INFO] cloning repository https://github.com/PoorlyDefinedBehaviour/kv_store [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PoorlyDefinedBehaviour/kv_store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fkv_store'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3946e28694fce4ae15d8db7f5d7285ca13ebfdbb [INFO] checking PoorlyDefinedBehaviour/kv_store/3946e28694fce4ae15d8db7f5d7285ca13ebfdbb 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%2FPoorlyDefinedBehaviour%2Fkv_store" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PoorlyDefinedBehaviour/kv_store 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/PoorlyDefinedBehaviour/kv_store [INFO] finished tweaking git repo https://github.com/PoorlyDefinedBehaviour/kv_store [INFO] tweaked toml for git repo https://github.com/PoorlyDefinedBehaviour/kv_store written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PoorlyDefinedBehaviour/kv_store 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8d0651a4a67bfd8a6786cfac7f080ea9b59407f97f9a3fb9ff7a87c571119fda [INFO] running `Command { std: "docker" "start" "-a" "8d0651a4a67bfd8a6786cfac7f080ea9b59407f97f9a3fb9ff7a87c571119fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d0651a4a67bfd8a6786cfac7f080ea9b59407f97f9a3fb9ff7a87c571119fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0651a4a67bfd8a6786cfac7f080ea9b59407f97f9a3fb9ff7a87c571119fda", kill_on_drop: false }` [INFO] [stdout] 8d0651a4a67bfd8a6786cfac7f080ea9b59407f97f9a3fb9ff7a87c571119fda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f4ef4d30fb4a5f946fe9e283cc40d438fb9366d08a4083a93bd083267117e9fb [INFO] running `Command { std: "docker" "start" "-a" "f4ef4d30fb4a5f946fe9e283cc40d438fb9366d08a4083a93bd083267117e9fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v1.2.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.3 [INFO] [stderr] Checking tracing-tree v0.2.1 [INFO] [stderr] Checking tracing-appender v0.2.2 [INFO] [stderr] Checking mockall v0.11.1 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-byteorder v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling distributed_kv_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stdout] warning: associated items `new`, `create_data_file`, `get_latest_data_file_id`, and `flush` are never used [INFO] [stdout] --> src/commit_log.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl CommitLog { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 30 | pub async fn new(dir: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn create_data_file(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn get_latest_data_file_id(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn flush(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_index_files` is never used [INFO] [stdout] --> src/fs.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn list_index_files(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(kv: Kv) -> Self { [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/server.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | async fn put(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________----------------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let request = request.into_inner(); [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | match self.kv.put(request.key, request.value).await { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [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/server.rs:35:94 [INFO] [stdout] | [INFO] [stdout] 35 | async fn get(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________----------------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let request = request.into_inner(); [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | match self.kv.get(&request.key).await { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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/server.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 49 | request: Request, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> Result, Status> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 51 | | let request = request.into_inner(); [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | match self.kv.delete(&request.key).await { [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 66 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | KvStoreClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 192 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:234:74 [INFO] [stdout] | [INFO] [stdout] 231 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | ... ) -> Self::Future { [INFO] [stdout] 233 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | ... let fut = async move { (*inner).put(request).await }; [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:270:74 [INFO] [stdout] | [INFO] [stdout] 267 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | ... ) -> Self::Future { [INFO] [stdout] 269 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | ... let fut = async move { (*inner).get(request).await }; [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:306:77 [INFO] [stdout] | [INFO] [stdout] 303 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | ... ) -> Self::Future { [INFO] [stdout] 305 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | ... let fut = async move { (*inner).delete(request).await }; [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 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed_kv_store` (bin "distributed_kv_store") due to 10 previous errors; 3 warnings emitted [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/server.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | async fn put(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________----------------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let request = request.into_inner(); [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | match self.kv.put(request.key, request.value).await { [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [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/server.rs:35:94 [INFO] [stdout] | [INFO] [stdout] 35 | async fn get(&self, request: Request) -> Result, Status> { [INFO] [stdout] | _______________________----------------------------___________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | let request = request.into_inner(); [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | match self.kv.get(&request.key).await { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [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/server.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 49 | request: Request, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> Result, Status> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 51 | | let request = request.into_inner(); [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | match self.kv.delete(&request.key).await { [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 66 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | KvStoreClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 192 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:234:74 [INFO] [stdout] | [INFO] [stdout] 231 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | ... ) -> Self::Future { [INFO] [stdout] 233 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | ... let fut = async move { (*inner).put(request).await }; [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:270:74 [INFO] [stdout] | [INFO] [stdout] 267 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | ... ) -> Self::Future { [INFO] [stdout] 269 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | ... let fut = async move { (*inner).get(request).await }; [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] --> /opt/rustwide/target/debug/build/distributed_kv_store-c65833faa3dcd862/out/api.rs:306:77 [INFO] [stdout] | [INFO] [stdout] 303 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | ... ) -> Self::Future { [INFO] [stdout] 305 | ... let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | ... let fut = async move { (*inner).delete(request).await }; [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed_kv_store` (bin "distributed_kv_store" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "f4ef4d30fb4a5f946fe9e283cc40d438fb9366d08a4083a93bd083267117e9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ef4d30fb4a5f946fe9e283cc40d438fb9366d08a4083a93bd083267117e9fb", kill_on_drop: false }` [INFO] [stdout] f4ef4d30fb4a5f946fe9e283cc40d438fb9366d08a4083a93bd083267117e9fb