[INFO] updating cached repository https://github.com/MadBull1995/protot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8da66c2c4bf8ee2ffac85581651f6935a484cfbe [INFO] checking MadBull1995/protot/8da66c2c4bf8ee2ffac85581651f6935a484cfbe 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%2FMadBull1995%2Fprotot" "/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/MadBull1995/protot 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/MadBull1995/protot [INFO] finished tweaking git repo https://github.com/MadBull1995/protot [INFO] tweaked toml for git repo https://github.com/MadBull1995/protot written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MadBull1995/protot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding base-x v0.2.11 [INFO] [stderr] Adding const_fn v0.4.10 [INFO] [stderr] Adding discard v1.0.4 [INFO] [stderr] Adding proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding sha1 v0.6.1 (latest: v0.10.6) [INFO] [stderr] Adding standback v0.2.17 (latest: v0.4.4) [INFO] [stderr] Adding stdweb v0.4.20 [INFO] [stderr] Adding stdweb-derive v0.5.3 [INFO] [stderr] Adding stdweb-internal-macros v0.2.9 [INFO] [stderr] Adding stdweb-internal-runtime v0.1.5 [INFO] [stderr] Adding time v0.2.27 (latest: v0.3.36) [INFO] [stderr] Adding time-macros v0.1.1 (latest: v0.2.18) [INFO] [stderr] Adding time-macros-impl v0.1.2 [INFO] [stderr] Adding version_check v0.9.5 [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] 3f6c9023bd76da87e34afc007a9c8a9b8d4b292d030ee398d3c862883d393f23 [INFO] running `Command { std: "docker" "start" "-a" "3f6c9023bd76da87e34afc007a9c8a9b8d4b292d030ee398d3c862883d393f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f6c9023bd76da87e34afc007a9c8a9b8d4b292d030ee398d3c862883d393f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6c9023bd76da87e34afc007a9c8a9b8d4b292d030ee398d3c862883d393f23", kill_on_drop: false }` [INFO] [stdout] 3f6c9023bd76da87e34afc007a9c8a9b8d4b292d030ee398d3c862883d393f23 [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] ed84ab7a59b13a1e2399fa44c05becafbc8756dd10766dc8f3d1134019b411f3 [INFO] running `Command { std: "docker" "start" "-a" "ed84ab7a59b13a1e2399fa44c05becafbc8756dd10766dc8f3d1134019b411f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking memchr v2.6.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking chrono v0.4.28 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking thread-id v4.2.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking protobuf-support v3.2.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling protot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking tonic-types v0.9.2 [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/core/worker_pool.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | thread, error::Error [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/core/worker_pool.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use tonic::{Status, Response}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssignTaskRequest` [INFO] [stdout] --> src/core/grpc_executor.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{internal::protot::{scheduler::v1::{SchedulerMessage, scheduler_message, AssignTaskRequest, ExecuteResponse}, core::TaskState}... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker_pool::AsyncTaskExecutor` [INFO] [stdout] --> src/core/grpc_executor.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{worker_pool::AsyncTaskExecutor, load_balancer::LoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/core/grpc_executor.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{collections::HashMap, error::Error, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/core/grpc_executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mpsc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/data/redis_store.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionLike`, `RedisError`, and `RedisResult` [INFO] [stdout] --> src/data/redis_store.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::{Client, RedisError, aio::Connection, RedisResult, AsyncCommands, ConnectionLike}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Task` and `utils::current_timestamp` [INFO] [stdout] --> src/data/redis_store.rs:8:70 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{internal::protot::{scheduler::v1::ExecuteRequest, core::{Task, TaskState}}, SchedulerError, utils::current_timestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataStoreError` [INFO] [stdout] --> src/data/redis_store.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use super::data_store::{DataStore, DataStoreError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/utils/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internal::protot::core::Config` [INFO] [stdout] --> src/utils/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::internal::protot::core::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost_types::Duration` [INFO] [stdout] --> src/utils/configs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use prost_types::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/server/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken` [INFO] [stdout] --> src/server/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio_util::sync::CancellationToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `core::NodeType` and `self` [INFO] [stdout] --> src/server/mod.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::{internal::protot::{scheduler::v1::{Ack, WorkerChannelStatus, worker_message::{self, WorkerMessageType}}, core::NodeType}, cor... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/server/mod.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | use futures::{Stream, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `select` and `timeout` [INFO] [stdout] --> src/server/mod.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | sync::{mpsc::{self, Receiver, Sender}, Mutex}, select, time::{timeout, sleep}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataStore` [INFO] [stdout] --> src/lib.rs:86:111 [INFO] [stdout] | [INFO] [stdout] 86 | use crate::{core::worker_pool::{TaskExecutor, TaskRegistry}, server::start_single_process_grpc_server, data::{DataStore, RedisDataStore},... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/core/worker_pool.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | thread, error::Error [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Status` [INFO] [stdout] --> src/core/worker_pool.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use tonic::{Status, Response}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssignTaskRequest` [INFO] [stdout] --> src/core/grpc_executor.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{internal::protot::{scheduler::v1::{SchedulerMessage, scheduler_message, AssignTaskRequest, ExecuteResponse}, core::TaskState}... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `worker_pool::AsyncTaskExecutor` [INFO] [stdout] --> src/core/grpc_executor.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use super::{worker_pool::AsyncTaskExecutor, load_balancer::LoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/core/grpc_executor.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{collections::HashMap, error::Error, sync::Arc, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/core/grpc_executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mpsc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/data/redis_store.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionLike`, `RedisError`, and `RedisResult` [INFO] [stdout] --> src/data/redis_store.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::{Client, RedisError, aio::Connection, RedisResult, AsyncCommands, ConnectionLike}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Task` and `utils::current_timestamp` [INFO] [stdout] --> src/data/redis_store.rs:8:70 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{internal::protot::{scheduler::v1::ExecuteRequest, core::{Task, TaskState}}, SchedulerError, utils::current_timestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataStoreError` [INFO] [stdout] --> src/data/redis_store.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use super::data_store::{DataStore, DataStoreError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/utils/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internal::protot::core::Config` [INFO] [stdout] --> src/utils/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::internal::protot::core::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost_types::Duration` [INFO] [stdout] --> src/utils/configs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use prost_types::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/server/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken` [INFO] [stdout] --> src/server/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio_util::sync::CancellationToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `core::NodeType` and `self` [INFO] [stdout] --> src/server/mod.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::{internal::protot::{scheduler::v1::{Ack, WorkerChannelStatus, worker_message::{self, WorkerMessageType}}, core::NodeType}, cor... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/server/mod.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | use futures::{Stream, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `select` and `timeout` [INFO] [stdout] --> src/server/mod.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | sync::{mpsc::{self, Receiver, Sender}, Mutex}, select, time::{timeout, sleep}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataStore` [INFO] [stdout] --> src/lib.rs:86:111 [INFO] [stdout] | [INFO] [stdout] 86 | use crate::{core::worker_pool::{TaskExecutor, TaskRegistry}, server::start_single_process_grpc_server, data::{DataStore, RedisDataStore},... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | use log::{info, debug, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/mod.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | _ => println!("unable to communicate with unknown scheduler message") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/client/mod.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 199 | scheduler_message::SchedulerMessageType::AssignTask(t) => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 205 | scheduler_message::SchedulerMessageType::Disconnect(disconnect) => { [INFO] [stdout] | --------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | scheduler_message::SchedulerMessageType::Ack(ack) => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 211 | scheduler_message::SchedulerMessageType::Heartbeat(_) => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => println!("unable to communicate with unknown scheduler message") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/mod.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | _ => println!("unable to communicate with unknown scheduler message") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/client/mod.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 199 | scheduler_message::SchedulerMessageType::AssignTask(t) => { [INFO] [stdout] | ------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 205 | scheduler_message::SchedulerMessageType::Disconnect(disconnect) => { [INFO] [stdout] | --------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | scheduler_message::SchedulerMessageType::Ack(ack) => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 211 | scheduler_message::SchedulerMessageType::Heartbeat(_) => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => println!("unable to communicate with unknown scheduler message") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/data/redis_store.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn add_task_execution(&self, execute: ExecuteRequest) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/data/redis_store.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | db.hset(&key, "execution", &val.to_string()) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/data/redis_store.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn add_task_execution(&self, execute: ExecuteRequest) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/data/redis_store.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | db.hset(&key, "execution", &val.to_string()) [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/data/redis_store.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | async fn get_task_executions_by_worker(&self, state: TaskState) -> Result, SchedulerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/data/redis_store.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | async fn get_tasks_executions_by_state(&self, state: TaskState) -> Result, SchedulerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/data/redis_store.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> src/data/redis_store.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_state` [INFO] [stdout] --> src/data/redis_store.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/worker.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | let mut shared_data_clone = Arc::clone(&shared_data); [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: `shared_data` [INFO] [stdout] --> src/server/mod.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server/mod.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server/mod.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 545 | Ok(res) => Ok(Response::new(ExecuteResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server/mod.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_data` [INFO] [stdout] --> src/server/mod.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let shared_data = self.shared_data.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let data = Any::unpack::(&data); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let data = Any::unpack::(&data); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `execute_channel` is never read [INFO] [stdout] --> src/core/worker_pool.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GrpcWorkerPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | execute_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DropClient` is never used [INFO] [stdout] --> src/core/grpc_executor.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | trait DropClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStoreError` is never used [INFO] [stdout] --> src/data/data_store.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DataStoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisClient` is never constructed [INFO] [stdout] --> src/data/redis_store.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RedisClient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WorkerChannels` is never used [INFO] [stdout] --> src/server/mod.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | type WorkerChannels = Arc>, Sender<()>)>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_layer` is never read [INFO] [stdout] --> src/server/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SchedulerServer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 64 | shared_state: Arc>, [INFO] [stdout] 65 | data_layer: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel_client` is never used [INFO] [stdout] --> src/server/mod.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | async fn cancel_client(tx: Sender>, rx_cancel:&mut Receiver<()>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worker_heartbeat` is never read [INFO] [stdout] --> src/server/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct SharedData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 206 | pub(crate) worker_pool: Arc>, [INFO] [stdout] 207 | pub worker_heartbeat: Arc>>, [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/client/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn build(self) -> GrpcWorker { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | GrpcWorker { [INFO] [stdout] 110 | registeration_details:Arc::new(RegistrationRequest { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 111 | | worker_id: self.worker_id [INFO] [stdout] 112 | | .clone() [INFO] [stdout] 113 | | .unwrap_or("SomeWorkerId".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 117 | | .unwrap_or("SomeSecert".to_string()) [INFO] [stdout] 118 | | }), [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/client/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn build(self) -> GrpcWorker { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | registry: self.registry.unwrap_or(GrpcWorkersRegistry::new()), [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/core/worker_pool.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let (tx, rx) = channel::>(); [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] 259 | [INFO] [stdout] 260 | let (shared_data, workers) = match self.workers_type { [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] 276 | let registry = init_registry(self.executors); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | Ok(WorkerPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 278 | | jobs: Some(tx), [INFO] [stdout] 279 | | shared_data, [INFO] [stdout] 280 | | executors: registry, [INFO] [stdout] 281 | | workers, [INFO] [stdout] 282 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/core/worker_pool.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn execute_async(&self, job: F, args: ExecuteRequest) -> Result<(), SchedulerError> [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let runtime = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | runtime.block_on(job(args)) [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/core/worker_pool.rs:513:18 [INFO] [stdout] | [INFO] [stdout] 509 | receiver: Receiver>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 514 | | name: pool_name, [INFO] [stdout] 515 | | job_receiver: Arc::new(Mutex::new(receiver)), [INFO] [stdout] 516 | | empty_condvar: Condvar::new(), [INFO] [stdout] ... | [INFO] [stdout] 525 | | stack_size: thread_stack_size, [INFO] [stdout] 526 | | }) [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/core/grpc_executor.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | grpc_worker_channels: Mutex::new(HashMap::new()), [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/core/grpc_executor.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | balancer: Mutex::new(balancer), [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/core/grpc_executor.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | worker_heartbeat: Arc::new(Mutex::new(HashMap::new())), [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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 67 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | SchedulerServiceClient::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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 202 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 215 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:287:78 [INFO] [stdout] | [INFO] [stdout] 284 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | ... ) -> Self::Future { [INFO] [stdout] 286 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | ... let fut = async move { (*inner).execute(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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:331:79 [INFO] [stdout] | [INFO] [stdout] 328 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | ... ) -> Self::Future { [INFO] [stdout] 330 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ... let fut = async move { (*inner).schedule(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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 556 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 573 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:673:28 [INFO] [stdout] | [INFO] [stdout] 672 | 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] 673 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 686 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:762:82 [INFO] [stdout] | [INFO] [stdout] 757 | ... request: tonic::Request< [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 761 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 762 | ... let fut = async move { (*inner).communicate(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] --> src/server/mod.rs:81:60 [INFO] [stdout] | [INFO] [stdout] 80 | request: Request>, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | let (tx, rx) = tokio::sync::mpsc::channel(self.shared_state.max_queue_size()); [INFO] [stdout] 84 | | let (tx_cancel,mut rx_cancel) = tokio::sync::mpsc::channel::<()>(1); [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(Response::new(response_stream)) [INFO] [stdout] 119 | | } [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/mod.rs:438:52 [INFO] [stdout] | [INFO] [stdout] 437 | request: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 439 | | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 440 | | let req = request.into_inner(); [INFO] [stdout] 441 | | let task_name = req.task.as_ref().unwrap().id.clone(); [INFO] [stdout] ... | [INFO] [stdout] 482 | | [INFO] [stdout] 483 | | } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server/mod.rs:439:52 [INFO] [stdout] | [INFO] [stdout] 439 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SharedData` does not implement `Clone`, so calling `clone` on `&SharedData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 439 - let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 439 + let shared_data = self.shared_data.as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SharedData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 205 + #[derive(Clone)] [INFO] [stdout] 206 | pub struct SharedData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | db.add_task_execution(cloned_task).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = db.add_task_execution(cloned_task).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:488:53 [INFO] [stdout] | [INFO] [stdout] 487 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 489 | | let mut err_details = ErrorDetails::new(); [INFO] [stdout] 490 | | err_details [INFO] [stdout] 491 | | .add_precondition_failure_violation( [INFO] [stdout] ... | [INFO] [stdout] 504 | | Err(status) [INFO] [stdout] 505 | | } [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/mod.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 523 | request: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 525 | | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 526 | | let req = request.into_inner().clone(); [INFO] [stdout] 527 | | let task_name = req.task.as_ref().unwrap().id.clone(); [INFO] [stdout] ... | [INFO] [stdout] 569 | | [INFO] [stdout] 570 | | } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server/mod.rs:525:52 [INFO] [stdout] | [INFO] [stdout] 525 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SharedData` does not implement `Clone`, so calling `clone` on `&SharedData` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 525 - let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 525 + let shared_data = self.shared_data.as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SharedData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 205 + #[derive(Clone)] [INFO] [stdout] 206 | pub struct SharedData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:575:53 [INFO] [stdout] | [INFO] [stdout] 574 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 576 | | let shared_data = self.shared_data.clone(); [INFO] [stdout] 577 | | let mut err_details = ErrorDetails::new(); [INFO] [stdout] 578 | | err_details [INFO] [stdout] ... | [INFO] [stdout] 592 | | Err(status) [INFO] [stdout] 593 | | } [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 22 previous errors; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protot` (lib) due to 23 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/data/redis_store.rs:62:51 [INFO] [stdout] | [INFO] [stdout] 62 | async fn get_task_executions_by_worker(&self, state: TaskState) -> Result, SchedulerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/data/redis_store.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | async fn get_tasks_executions_by_state(&self, state: TaskState) -> Result, SchedulerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/data/redis_store.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> src/data/redis_store.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_state` [INFO] [stdout] --> src/data/redis_store.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | async fn update_task_execution_state(&self, task_id: &str, execution_id: &str, new_state: &TaskState) -> Result<(), SchedulerError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_data` [INFO] [stdout] --> src/server/mod.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server/mod.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server/mod.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 545 | Ok(res) => Ok(Response::new(ExecuteResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server/mod.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_data` [INFO] [stdout] --> src/server/mod.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let shared_data = self.shared_data.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let data = Any::unpack::(&data); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let data = Any::unpack::(&data); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `execute_channel` is never read [INFO] [stdout] --> src/core/worker_pool.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GrpcWorkerPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | execute_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DropClient` is never used [INFO] [stdout] --> src/core/grpc_executor.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | trait DropClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataStoreError` is never used [INFO] [stdout] --> src/data/data_store.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DataStoreError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisClient` is never constructed [INFO] [stdout] --> src/data/redis_store.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RedisClient { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WorkerChannels` is never used [INFO] [stdout] --> src/server/mod.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | type WorkerChannels = Arc>, Sender<()>)>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_layer` is never read [INFO] [stdout] --> src/server/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SchedulerServer { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 64 | shared_state: Arc>, [INFO] [stdout] 65 | data_layer: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel_client` is never used [INFO] [stdout] --> src/server/mod.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | async fn cancel_client(tx: Sender>, rx_cancel:&mut Receiver<()>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worker_heartbeat` is never read [INFO] [stdout] --> src/server/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct SharedData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 206 | pub(crate) worker_pool: Arc>, [INFO] [stdout] 207 | pub worker_heartbeat: Arc>>, [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/client/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn build(self) -> GrpcWorker { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | GrpcWorker { [INFO] [stdout] 110 | registeration_details:Arc::new(RegistrationRequest { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 111 | | worker_id: self.worker_id [INFO] [stdout] 112 | | .clone() [INFO] [stdout] 113 | | .unwrap_or("SomeWorkerId".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 117 | | .unwrap_or("SomeSecert".to_string()) [INFO] [stdout] 118 | | }), [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/client/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn build(self) -> GrpcWorker { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | registry: self.registry.unwrap_or(GrpcWorkersRegistry::new()), [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/core/worker_pool.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let (tx, rx) = channel::>(); [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] 259 | [INFO] [stdout] 260 | let (shared_data, workers) = match self.workers_type { [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] 276 | let registry = init_registry(self.executors); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | Ok(WorkerPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 278 | | jobs: Some(tx), [INFO] [stdout] 279 | | shared_data, [INFO] [stdout] 280 | | executors: registry, [INFO] [stdout] 281 | | workers, [INFO] [stdout] 282 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/core/worker_pool.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn execute_async(&self, job: F, args: ExecuteRequest) -> Result<(), SchedulerError> [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let runtime = tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 354 | runtime.block_on(job(args)) [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/core/worker_pool.rs:513:18 [INFO] [stdout] | [INFO] [stdout] 509 | receiver: Receiver>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 513 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 514 | | name: pool_name, [INFO] [stdout] 515 | | job_receiver: Arc::new(Mutex::new(receiver)), [INFO] [stdout] 516 | | empty_condvar: Condvar::new(), [INFO] [stdout] ... | [INFO] [stdout] 525 | | stack_size: thread_stack_size, [INFO] [stdout] 526 | | }) [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/core/grpc_executor.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | grpc_worker_channels: Mutex::new(HashMap::new()), [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/core/grpc_executor.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | balancer: Mutex::new(balancer), [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/core/grpc_executor.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(balancer: B, max_task_queue: Option) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | worker_heartbeat: Arc::new(Mutex::new(HashMap::new())), [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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 67 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | SchedulerServiceClient::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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 202 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 215 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:287:78 [INFO] [stdout] | [INFO] [stdout] 284 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | ... ) -> Self::Future { [INFO] [stdout] 286 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | ... let fut = async move { (*inner).execute(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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:331:79 [INFO] [stdout] | [INFO] [stdout] 328 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | ... ) -> Self::Future { [INFO] [stdout] 330 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | ... let fut = async move { (*inner).schedule(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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 556 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 557 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 573 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:673:28 [INFO] [stdout] | [INFO] [stdout] 672 | 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] 673 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 686 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | 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/protot-878b1d9d96f7e946/out/protot.scheduler.v1.rs:762:82 [INFO] [stdout] | [INFO] [stdout] 757 | ... request: tonic::Request< [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 761 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 762 | ... let fut = async move { (*inner).communicate(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] --> src/server/mod.rs:81:60 [INFO] [stdout] | [INFO] [stdout] 80 | request: Request>, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | let (tx, rx) = tokio::sync::mpsc::channel(self.shared_state.max_queue_size()); [INFO] [stdout] 84 | | let (tx_cancel,mut rx_cancel) = tokio::sync::mpsc::channel::<()>(1); [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(Response::new(response_stream)) [INFO] [stdout] 119 | | } [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/mod.rs:438:52 [INFO] [stdout] | [INFO] [stdout] 437 | request: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 438 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 439 | | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 440 | | let req = request.into_inner(); [INFO] [stdout] 441 | | let task_name = req.task.as_ref().unwrap().id.clone(); [INFO] [stdout] ... | [INFO] [stdout] 482 | | [INFO] [stdout] 483 | | } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server/mod.rs:439:52 [INFO] [stdout] | [INFO] [stdout] 439 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SharedData` does not implement `Clone`, so calling `clone` on `&SharedData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 439 - let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 439 + let shared_data = self.shared_data.as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SharedData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 205 + #[derive(Clone)] [INFO] [stdout] 206 | pub struct SharedData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | db.add_task_execution(cloned_task).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = db.add_task_execution(cloned_task).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:488:53 [INFO] [stdout] | [INFO] [stdout] 487 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 489 | | let mut err_details = ErrorDetails::new(); [INFO] [stdout] 490 | | err_details [INFO] [stdout] 491 | | .add_precondition_failure_violation( [INFO] [stdout] ... | [INFO] [stdout] 504 | | Err(status) [INFO] [stdout] 505 | | } [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/mod.rs:524:52 [INFO] [stdout] | [INFO] [stdout] 523 | request: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | ) -> Result, Status> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 525 | | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 526 | | let req = request.into_inner().clone(); [INFO] [stdout] 527 | | let task_name = req.task.as_ref().unwrap().id.clone(); [INFO] [stdout] ... | [INFO] [stdout] 569 | | [INFO] [stdout] 570 | | } [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server/mod.rs:525:52 [INFO] [stdout] | [INFO] [stdout] 525 | let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `SharedData` does not implement `Clone`, so calling `clone` on `&SharedData` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 525 - let shared_data = self.shared_data.as_ref().clone(); [INFO] [stdout] 525 + let shared_data = self.shared_data.as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `SharedData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 205 + #[derive(Clone)] [INFO] [stdout] 206 | pub struct SharedData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:575:53 [INFO] [stdout] | [INFO] [stdout] 574 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 575 | ) -> Result, Status> { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 576 | | let shared_data = self.shared_data.clone(); [INFO] [stdout] 577 | | let mut err_details = ErrorDetails::new(); [INFO] [stdout] 578 | | err_details [INFO] [stdout] ... | [INFO] [stdout] 592 | | Err(status) [INFO] [stdout] 593 | | } [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 22 previous errors; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protot` (lib test) due to 23 previous errors; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed84ab7a59b13a1e2399fa44c05becafbc8756dd10766dc8f3d1134019b411f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed84ab7a59b13a1e2399fa44c05becafbc8756dd10766dc8f3d1134019b411f3", kill_on_drop: false }` [INFO] [stdout] ed84ab7a59b13a1e2399fa44c05becafbc8756dd10766dc8f3d1134019b411f3