[INFO] cloning repository https://github.com/RincewindWizzard/dht-exmple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RincewindWizzard/dht-exmple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fdht-exmple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fdht-exmple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2592d45ba0232c79f9f917ccf7022ed1b1a3525f [INFO] checking RincewindWizzard/dht-exmple/2592d45ba0232c79f9f917ccf7022ed1b1a3525f 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%2FRincewindWizzard%2Fdht-exmple" "/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/RincewindWizzard/dht-exmple 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/RincewindWizzard/dht-exmple [INFO] finished tweaking git repo https://github.com/RincewindWizzard/dht-exmple [INFO] tweaked toml for git repo https://github.com/RincewindWizzard/dht-exmple written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RincewindWizzard/dht-exmple 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] 41bcc53c500ba22ad0609b5db5e950b2765fce5e3d88a5a78bd393c608ad6449 [INFO] running `Command { std: "docker" "start" "-a" "41bcc53c500ba22ad0609b5db5e950b2765fce5e3d88a5a78bd393c608ad6449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41bcc53c500ba22ad0609b5db5e950b2765fce5e3d88a5a78bd393c608ad6449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41bcc53c500ba22ad0609b5db5e950b2765fce5e3d88a5a78bd393c608ad6449", kill_on_drop: false }` [INFO] [stdout] 41bcc53c500ba22ad0609b5db5e950b2765fce5e3d88a5a78bd393c608ad6449 [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] 5993f9969f3f1d88014ba4f3b8bb2bf1453ef5a68020b53f983027d6beb4b97d [INFO] running `Command { std: "docker" "start" "-a" "5993f9969f3f1d88014ba4f3b8bb2bf1453ef5a68020b53f983027d6beb4b97d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking multithreading_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/tokenring.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/tokenring.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/tokenring.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/tokenring.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RouteType` and `Token` [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenring::{Node, RouteType, Token}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenring::Token::TEXT` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tokenring::Token::TEXT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RouteType` and `Token` [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenring::{Node, RouteType, Token}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenring::Token::TEXT` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tokenring::Token::TEXT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/tokenring.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Token::PONG(src, dst) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/tokenring.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | if let Err(SendError(token)) = result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route_type` [INFO] [stdout] --> src/tokenring.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | for (route_type, rx) in &self.rx { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_route_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | let (tx, rx) = node.channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TEXT` and `PING` are never constructed [INFO] [stdout] --> src/tokenring.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 19 | TEXT(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | PING(NodeId, NodeId), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal` is never used [INFO] [stdout] --> src/tokenring.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_internal(token: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NodeLogik` is never used [INFO] [stdout] --> src/tokenring.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait NodeLogik { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ping` is never used [INFO] [stdout] --> src/tokenring.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl NodeHandle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn ping(&self, dst: NodeId) -> Result<(), SendError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/tokenring.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn send(&mut self, token: Token) -> Result<(), anyhow::Error> { [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/tokenring.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn store(&self, key: K, value: V) -> Result<(), SendError> [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | self.tx.send(Token::STORE(key.to_string(), value.to_string())) [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/tokenring.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn load(&self, key: K) -> Result<(), SendError> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | self.tx.send(Token::RETRIEVE(key.to_string())) [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/tokenring.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 297 | let oper = sel.select(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let token = oper.recv(rx)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | Ok((route_type, token)) [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: aborting due to 3 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multithreading_sample` (bin "multithreading_sample") due to 4 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/tokenring.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Token::PONG(src, dst) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/tokenring.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | if let Err(SendError(token)) = result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route_type` [INFO] [stdout] --> src/tokenring.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | for (route_type, rx) in &self.rx { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_route_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | let (tx, rx) = node.channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TEXT` and `PING` are never constructed [INFO] [stdout] --> src/tokenring.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 19 | TEXT(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | PING(NodeId, NodeId), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_internal` is never used [INFO] [stdout] --> src/tokenring.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_internal(token: &Token) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NodeLogik` is never used [INFO] [stdout] --> src/tokenring.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait NodeLogik { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ping` is never used [INFO] [stdout] --> src/tokenring.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl NodeHandle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn ping(&self, dst: NodeId) -> Result<(), SendError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/tokenring.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn send(&mut self, token: Token) -> Result<(), anyhow::Error> { [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/tokenring.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn store(&self, key: K, value: V) -> Result<(), SendError> [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | self.tx.send(Token::STORE(key.to_string(), value.to_string())) [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/tokenring.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn load(&self, key: K) -> Result<(), SendError> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | self.tx.send(Token::RETRIEVE(key.to_string())) [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/tokenring.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 297 | let oper = sel.select(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | let token = oper.recv(rx)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | Ok((route_type, token)) [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: aborting due to 3 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multithreading_sample` (bin "multithreading_sample" test) due to 4 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5993f9969f3f1d88014ba4f3b8bb2bf1453ef5a68020b53f983027d6beb4b97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5993f9969f3f1d88014ba4f3b8bb2bf1453ef5a68020b53f983027d6beb4b97d", kill_on_drop: false }` [INFO] [stdout] 5993f9969f3f1d88014ba4f3b8bb2bf1453ef5a68020b53f983027d6beb4b97d