[INFO] cloning repository https://github.com/coltonweaver/example_naive_blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coltonweaver/example_naive_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonweaver%2Fexample_naive_blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonweaver%2Fexample_naive_blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da64fcbb9e11c4a26c19512b8916516f2f5356a4 [INFO] checking coltonweaver/example_naive_blockchain/da64fcbb9e11c4a26c19512b8916516f2f5356a4 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%2Fcoltonweaver%2Fexample_naive_blockchain" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coltonweaver/example_naive_blockchain 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/coltonweaver/example_naive_blockchain [INFO] finished tweaking git repo https://github.com/coltonweaver/example_naive_blockchain [INFO] tweaked toml for git repo https://github.com/coltonweaver/example_naive_blockchain written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coltonweaver/example_naive_blockchain 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a5b7c40cc99de20de857e70191fce1776cfecfa8ee8523dcac285e05a90c5de [INFO] running `Command { std: "docker" "start" "-a" "1a5b7c40cc99de20de857e70191fce1776cfecfa8ee8523dcac285e05a90c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5b7c40cc99de20de857e70191fce1776cfecfa8ee8523dcac285e05a90c5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5b7c40cc99de20de857e70191fce1776cfecfa8ee8523dcac285e05a90c5de", kill_on_drop: false }` [INFO] [stdout] 1a5b7c40cc99de20de857e70191fce1776cfecfa8ee8523dcac285e05a90c5de [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1acece5281b3ce6db06f027c629b1ff4c1ea055efa14bb8b8db1addd5b4f928 [INFO] running `Command { std: "docker" "start" "-a" "a1acece5281b3ce6db06f027c629b1ff4c1ea055efa14bb8b8db1addd5b4f928", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling prost-build v0.10.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking sha256 v1.0.3 [INFO] [stderr] Compiling prettyplease v0.1.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tokio v1.18.0 [INFO] [stderr] Checking axum-core v0.2.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.1 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tonic-build v0.7.1 [INFO] [stderr] Compiling example_blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking tower-http v0.3.2 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.4 [INFO] [stderr] Checking tonic v0.7.1 [INFO] [stdout] warning: method `replace_chain_if_invalid` is never used [INFO] [stdout] --> src/blockchain.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn replace_chain_if_invalid(&mut self, new_chain: &mut Blockchain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:34:53 [INFO] [stdout] | [INFO] [stdout] 33 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 35 | | println!("Received request: {:?}", request); [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | let new_block = request.into_inner().block.expect("Block is expected"); [INFO] [stdout] ... | [INFO] [stdout] 46 | | Ok(Response::new(reply)) [INFO] [stdout] 47 | | } [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:52:58 [INFO] [stdout] | [INFO] [stdout] 51 | request: Request, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result, Status> { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 53 | | println!("Received request: {:?}", request); [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | let reply = GetBlockchainResponse { [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(Response::new(reply)) [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: 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:65:54 [INFO] [stdout] | [INFO] [stdout] 64 | request: Request, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | ) -> Result, Status> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 66 | | println!("Received request: {:?}", request); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let mut chain = self.blockchain.lock(); [INFO] [stdout] ... | [INFO] [stdout] 79 | | Ok(Response::new(reply)) [INFO] [stdout] 80 | | } [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:77:86 [INFO] [stdout] | [INFO] [stdout] 71 | let peers = self.peers.lock().clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | tokio::spawn(async move { NodeServer::broadcast_block_to_peers(block, peers).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] --> src/server.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 84 | request: Request, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ) -> Result, Status> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 86 | | println!("Received request: {:?}", request); [INFO] [stdout] 87 | | let client = NodeApiClient::connect(format!( [INFO] [stdout] 88 | | "http://127.0.0.1:{}", [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(Response::new(RegisterNodeResponse {})) [INFO] [stdout] 97 | | } [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:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [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] [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:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | .find(|port| match TcpListener::bind(("127.0.0.1", *port)) { [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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 81 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | NodeApiClient::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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 225 | 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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 236 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | 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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:278:80 [INFO] [stdout] | [INFO] [stdout] 275 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | ... ) -> Self::Future { [INFO] [stdout] 277 | ... 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] 278 | ... let fut = async move { (*inner).add_block(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:317:66 [INFO] [stdout] | [INFO] [stdout] 313 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | ... ) -> Self::Future { [INFO] [stdout] 315 | ... 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] 316 | ... let fut = async move { [INFO] [stdout] 317 | ... (*inner).get_blockchain(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:354:81 [INFO] [stdout] | [INFO] [stdout] 351 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | ... ) -> Self::Future { [INFO] [stdout] 353 | ... 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] 354 | ... let fut = async move { (*inner).mine_block(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:393:65 [INFO] [stdout] | [INFO] [stdout] 389 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | ... ) -> Self::Future { [INFO] [stdout] 391 | ... 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] 392 | ... let fut = async move { [INFO] [stdout] 393 | ... (*inner).register_node(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] warning: method `replace_chain_if_invalid` is never used [INFO] [stdout] --> src/blockchain.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Blockchain { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn replace_chain_if_invalid(&mut self, new_chain: &mut Blockchain) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:34:53 [INFO] [stdout] | [INFO] [stdout] 33 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 35 | | println!("Received request: {:?}", request); [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | let new_block = request.into_inner().block.expect("Block is expected"); [INFO] [stdout] ... | [INFO] [stdout] 46 | | Ok(Response::new(reply)) [INFO] [stdout] 47 | | } [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:52:58 [INFO] [stdout] | [INFO] [stdout] 51 | request: Request, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result, Status> { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 53 | | println!("Received request: {:?}", request); [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | let reply = GetBlockchainResponse { [INFO] [stdout] ... | [INFO] [stdout] 59 | | Ok(Response::new(reply)) [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: 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:65:54 [INFO] [stdout] | [INFO] [stdout] 64 | request: Request, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | ) -> Result, Status> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 66 | | println!("Received request: {:?}", request); [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | let mut chain = self.blockchain.lock(); [INFO] [stdout] ... | [INFO] [stdout] 79 | | Ok(Response::new(reply)) [INFO] [stdout] 80 | | } [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:77:86 [INFO] [stdout] | [INFO] [stdout] 71 | let peers = self.peers.lock().clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | tokio::spawn(async move { NodeServer::broadcast_block_to_peers(block, peers).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] --> src/server.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 84 | request: Request, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ) -> Result, Status> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 86 | | println!("Received request: {:?}", request); [INFO] [stdout] 87 | | let client = NodeApiClient::connect(format!( [INFO] [stdout] 88 | | "http://127.0.0.1:{}", [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(Response::new(RegisterNodeResponse {})) [INFO] [stdout] 97 | | } [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:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [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] [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:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | .find(|port| match TcpListener::bind(("127.0.0.1", *port)) { [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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 81 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | NodeApiClient::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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 225 | 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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 236 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | 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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:278:80 [INFO] [stdout] | [INFO] [stdout] 275 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | ... ) -> Self::Future { [INFO] [stdout] 277 | ... 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] 278 | ... let fut = async move { (*inner).add_block(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:317:66 [INFO] [stdout] | [INFO] [stdout] 313 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | ... ) -> Self::Future { [INFO] [stdout] 315 | ... 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] 316 | ... let fut = async move { [INFO] [stdout] 317 | ... (*inner).get_blockchain(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:354:81 [INFO] [stdout] | [INFO] [stdout] 351 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | ... ) -> Self::Future { [INFO] [stdout] 353 | ... 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] 354 | ... let fut = async move { (*inner).mine_block(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/example_blockchain-73d251a7cf2fdc73/out/node_service.rs:393:65 [INFO] [stdout] | [INFO] [stdout] 389 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | ... ) -> Self::Future { [INFO] [stdout] 391 | ... 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] 392 | ... let fut = async move { [INFO] [stdout] 393 | ... (*inner).register_node(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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `example_blockchain` (bin "node-server" test) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `example_blockchain` (bin "node-server") due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a1acece5281b3ce6db06f027c629b1ff4c1ea055efa14bb8b8db1addd5b4f928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1acece5281b3ce6db06f027c629b1ff4c1ea055efa14bb8b8db1addd5b4f928", kill_on_drop: false }` [INFO] [stdout] a1acece5281b3ce6db06f027c629b1ff4c1ea055efa14bb8b8db1addd5b4f928