[INFO] cloning repository https://github.com/andem20/tenswarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andem20/tenswarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandem20%2Ftenswarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandem20%2Ftenswarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 371b85910d0301bbec927d9f54ce506b95f4a13c [INFO] checking andem20/tenswarm/371b85910d0301bbec927d9f54ce506b95f4a13c 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%2Fandem20%2Ftenswarm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andem20/tenswarm 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/andem20/tenswarm [INFO] finished tweaking git repo https://github.com/andem20/tenswarm [INFO] tweaked toml for git repo https://github.com/andem20/tenswarm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andem20/tenswarm 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f9b7449aab9f28a990b81bc36eb4ed653bb73736db4f1409d1b89a7f8bb434c4 [INFO] running `Command { std: "docker" "start" "-a" "f9b7449aab9f28a990b81bc36eb4ed653bb73736db4f1409d1b89a7f8bb434c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9b7449aab9f28a990b81bc36eb4ed653bb73736db4f1409d1b89a7f8bb434c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b7449aab9f28a990b81bc36eb4ed653bb73736db4f1409d1b89a7f8bb434c4", kill_on_drop: false }` [INFO] [stdout] f9b7449aab9f28a990b81bc36eb4ed653bb73736db4f1409d1b89a7f8bb434c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9fbcdfca4a98e4578573bb38a94d035ab204e531d51dbac081e8004df87e00b0 [INFO] running `Command { std: "docker" "start" "-a" "9fbcdfca4a98e4578573bb38a94d035ab204e531d51dbac081e8004df87e00b0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [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 ring v0.16.20 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking rumqttc v0.14.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking loadtester_v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/clients/hyper_http_client.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/clients/hyper_http_client.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | method: Method, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/clients/hyper_http_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/clients/hyper_http_client.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/clients/hyper_http_client.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/clients/hyper_http_client.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | method: Method, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/clients/hyper_http_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/clients/hyper_http_client.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `response_count` is assigned to, but never used [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let mut response_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_response_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `response_count` is assigned to, but never used [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let mut response_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_response_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clients/hyper_http_client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HyperHttpClient { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_conclusion` is never used [INFO] [stdout] --> src/utils/print.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_conclusion(total_start_time: Instant, total_response_count: u32, total_response_time: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errormessages` is never used [INFO] [stdout] --> src/utils/print.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print_errormessages(error_messages: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp_up_millis` is never read [INFO] [stdout] --> src/scenario/test_scenario.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scenario { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | ramp_up_millis: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/test_clients/test_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TestClientData { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | id: usize [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestResult` is never used [INFO] [stdout] --> src/test_clients/test_client.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type TestResult = (u32, u128); [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/clients/custom_http_client.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | _________________________________-----------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | | let connection = BufReader::new(TcpStream::connect(addr.to_string()).await.unwrap()); [INFO] [stdout] 31 | | self.connections.insert(addr.to_string(), connection); [INFO] [stdout] 32 | | } [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/clients/custom_http_client.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 37 | addr: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | endpoint: String, [INFO] [stdout] 39 | headers: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | body: Option>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ) -> Result, Box> { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 42 | | let mut all_header = format!("{:?} {} HTTP/1.1\r\n", method, endpoint.as_str()); [INFO] [stdout] 43 | | all_header.push_str(&headers); [INFO] [stdout] 44 | | all_header.push_str("\r\n\r\n"); [INFO] [stdout] ... | [INFO] [stdout] 58 | | Ok(buffer) [INFO] [stdout] 59 | | } [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/clients/hyper_http_client.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | _________________________________-----------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | } [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/clients/hyper_http_client.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 29 | addr: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | endpoint: String, [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result, Box> { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 34 | | let addr = format!("http://{}{}", &addr.to_string(), &endpoint); [INFO] [stdout] 35 | | let uri = Uri::from_str(&addr)?; [INFO] [stdout] 36 | | let response = self.client.get(uri).await?; [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(body) [INFO] [stdout] 41 | | } [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/utils/time.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn create_timer(duration_millis: u128, tx: tokio::sync::broadcast::Sender) -> tokio::task::JoinHandle<()> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 29 | | let start_time = tokio::time::Instant::now(); [INFO] [stdout] 30 | | let mut interval = tokio::time::interval(Duration::from_millis(1000)); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }) [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/utils/file.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|step| Step::new(step.get("step").unwrap().to_owned())) [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/test_clients/test_http_client.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 53 | let headers = Arc::new("Host: localhost".to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let addr = self.addr.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | let mut client = client.lock().await; [INFO] [stdout] 60 | | client.connect(addr.clone()).await; [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | }) [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: variable does not need to be mutable [INFO] [stdout] --> src/test_clients/test_mqtt_client.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/test_clients/test_mqtt_client.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(id: usize, host: &str, port: u16, scenario_map: Value, rx: Receiver) -> Self { [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] 19 | let id_str = format!("mqtt_client_{}", &id); [INFO] [stdout] 20 | let mut mqtt_options = MqttOptions::new(id_str, host, port); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let (client, eventloop) = AsyncClient::new(mqtt_options, 10); [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] 32 | [INFO] [stdout] 33 | let steps = scenario_map["scenario"]["testloop"]["steps"] [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut steps_vec = Vec::with_capacity(steps.len()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let client_data = Arc::new(Mutex::new(TestClientData::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | client: Arc::new(Mutex::new(client)), [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/test_clients/test_mqtt_client.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(id: usize, host: &str, port: u16, scenario_map: Value, rx: Receiver) -> Self { [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] 19 | let id_str = format!("mqtt_client_{}", &id); [INFO] [stdout] 20 | let mut mqtt_options = MqttOptions::new(id_str, host, port); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let (client, eventloop) = AsyncClient::new(mqtt_options, 10); [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] 32 | [INFO] [stdout] 33 | let steps = scenario_map["scenario"]["testloop"]["steps"] [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut steps_vec = Vec::with_capacity(steps.len()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let client_data = Arc::new(Mutex::new(TestClientData::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | eventloop: Arc::new(Mutex::new(eventloop)), [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/test_clients/test_mqtt_client.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 65 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | [INFO] [stdout] 68 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | let client_data = client_data.lock().await; [INFO] [stdout] 70 | | let client = client.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | }) [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/test_clients/test_mqtt_client.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 99 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [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] 132 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let eventloop = self.eventloop.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 135 | | let mut response_count = 0; [INFO] [stdout] 136 | | [INFO] [stdout] 137 | | while client_data.lock().await.rx().is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [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: associated function `new` is never used [INFO] [stdout] --> src/clients/hyper_http_client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HyperHttpClient { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_conclusion` is never used [INFO] [stdout] --> src/utils/print.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_conclusion(total_start_time: Instant, total_response_count: u32, total_response_time: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_errormessages` is never used [INFO] [stdout] --> src/utils/print.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print_errormessages(error_messages: HashSet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ramp_up_millis` is never read [INFO] [stdout] --> src/scenario/test_scenario.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scenario { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | ramp_up_millis: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/test_clients/test_client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TestClientData { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | id: usize [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestResult` is never used [INFO] [stdout] --> src/test_clients/test_client.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type TestResult = (u32, u128); [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/clients/custom_http_client.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | _________________________________-----------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | | let connection = BufReader::new(TcpStream::connect(addr.to_string()).await.unwrap()); [INFO] [stdout] 31 | | self.connections.insert(addr.to_string(), connection); [INFO] [stdout] 32 | | } [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/clients/custom_http_client.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 37 | addr: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | endpoint: String, [INFO] [stdout] 39 | headers: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | body: Option>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ) -> Result, Box> { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 42 | | let mut all_header = format!("{:?} {} HTTP/1.1\r\n", method, endpoint.as_str()); [INFO] [stdout] 43 | | all_header.push_str(&headers); [INFO] [stdout] 44 | | all_header.push_str("\r\n\r\n"); [INFO] [stdout] ... | [INFO] [stdout] 58 | | Ok(buffer) [INFO] [stdout] 59 | | } [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 11 previous errors; 14 warnings emitted [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/clients/hyper_http_client.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&mut self, addr: Arc) { [INFO] [stdout] | _________________________________-----------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | } [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/clients/hyper_http_client.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 29 | addr: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | endpoint: String, [INFO] [stdout] 31 | headers: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | body: Option>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> Result, Box> { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 34 | | let addr = format!("http://{}{}", &addr.to_string(), &endpoint); [INFO] [stdout] 35 | | let uri = Uri::from_str(&addr)?; [INFO] [stdout] 36 | | let response = self.client.get(uri).await?; [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(body) [INFO] [stdout] 41 | | } [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/utils/time.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn create_timer(duration_millis: u128, tx: tokio::sync::broadcast::Sender) -> tokio::task::JoinHandle<()> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | tokio::spawn(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 29 | | let start_time = tokio::time::Instant::now(); [INFO] [stdout] 30 | | let mut interval = tokio::time::interval(Duration::from_millis(1000)); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }) [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/utils/file.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|step| Step::new(step.get("step").unwrap().to_owned())) [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/test_clients/test_http_client.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 53 | let headers = Arc::new("Host: localhost".to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let addr = self.addr.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | let mut client = client.lock().await; [INFO] [stdout] 60 | | client.connect(addr.clone()).await; [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | }) [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/test_clients/test_mqtt_client.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(id: usize, host: &str, port: u16, scenario_map: Value, rx: Receiver) -> Self { [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] 19 | let id_str = format!("mqtt_client_{}", &id); [INFO] [stdout] 20 | let mut mqtt_options = MqttOptions::new(id_str, host, port); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let (client, eventloop) = AsyncClient::new(mqtt_options, 10); [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] 32 | [INFO] [stdout] 33 | let steps = scenario_map["scenario"]["testloop"]["steps"] [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut steps_vec = Vec::with_capacity(steps.len()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let client_data = Arc::new(Mutex::new(TestClientData::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | client: Arc::new(Mutex::new(client)), [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/test_clients/test_mqtt_client.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(id: usize, host: &str, port: u16, scenario_map: Value, rx: Receiver) -> Self { [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] 19 | let id_str = format!("mqtt_client_{}", &id); [INFO] [stdout] 20 | let mut mqtt_options = MqttOptions::new(id_str, host, port); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let (client, eventloop) = AsyncClient::new(mqtt_options, 10); [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] 32 | [INFO] [stdout] 33 | let steps = scenario_map["scenario"]["testloop"]["steps"] [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let mut steps_vec = Vec::with_capacity(steps.len()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let client_data = Arc::new(Mutex::new(TestClientData::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | eventloop: Arc::new(Mutex::new(eventloop)), [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/test_clients/test_mqtt_client.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 65 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | [INFO] [stdout] 68 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | let client_data = client_data.lock().await; [INFO] [stdout] 70 | | let client = client.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | }) [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/test_clients/test_mqtt_client.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 99 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | [INFO] [stdout] 102 | let (tx, mut rx) = tokio::sync::mpsc::channel::(10); [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] 132 | let client_data = self.client_data.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let eventloop = self.eventloop.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 135 | | let mut response_count = 0; [INFO] [stdout] 136 | | [INFO] [stdout] 137 | | while client_data.lock().await.rx().is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | }) [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 `loadtester_v2` (bin "loadtester_v2" test) due to 12 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `loadtester_v2` (bin "loadtester_v2") due to 12 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9fbcdfca4a98e4578573bb38a94d035ab204e531d51dbac081e8004df87e00b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fbcdfca4a98e4578573bb38a94d035ab204e531d51dbac081e8004df87e00b0", kill_on_drop: false }` [INFO] [stdout] 9fbcdfca4a98e4578573bb38a94d035ab204e531d51dbac081e8004df87e00b0