[INFO] cloning repository https://github.com/promoteAI/rustray
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/promoteAI/rustray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpromoteAI%2Frustray", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpromoteAI%2Frustray'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 95f5f7d0ad79a2915a3ff726f75a7ff410e0e11c
[INFO] checking promoteAI/rustray against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpromoteAI%2Frustray" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/promoteAI/rustray
[INFO] finished tweaking git repo https://github.com/promoteAI/rustray
[INFO] tweaked toml for git repo https://github.com/promoteAI/rustray written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/promoteAI/rustray on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/promoteAI/rustray 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded metrics v0.20.1
[INFO] [stderr]   Downloaded metrics-macros v0.6.0
[INFO] [stderr]   Downloaded portable-atomic v0.3.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a
[INFO] running `Command { std: "docker" "start" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling portable-atomic v1.10.0
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling portable-atomic v0.3.20
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]    Compiling metrics v0.20.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ahash v0.7.8
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling metrics-macros v0.6.0
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]     Checking serde v1.0.215
[INFO] [stderr]    Compiling tonic-build v0.9.2
[INFO] [stderr]    Compiling rustray v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.9.2
[INFO] [stdout] warning: unused imports: `NodeInfo`, `TaskResult`, and `TaskSpec`
[INFO] [stdout]  --> src/grpc/mod.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::common::{NodeInfo, TaskSpec, TaskResult};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NodeInfo`, `TaskResult`, and `TaskSpec`
[INFO] [stdout]  --> src/grpc/mod.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::common::{NodeInfo, TaskSpec, TaskResult};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `submit_task` and `get_worker_count` are never used
[INFO] [stdout]    --> src/head/mod.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl HeadNode {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub async fn submit_task(&self, task: TaskSpec) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub async fn get_worker_count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskScheduler` is never constructed
[INFO] [stdout]  --> src/scheduler/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct TaskScheduler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `schedule_task` are never used
[INFO] [stdout]   --> src/scheduler/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TaskScheduler {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 14 |     /// 创建新的任务调度器
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn schedule_task(&self, task: TaskSpec) -> Result<Uuid> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RoundRobin` and `Random` are never constructed
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum LoadBalancingStrategy {
[INFO] [stdout]    |          --------------------- variants in this enum
[INFO] [stdout]  9 |     /// 轮询策略
[INFO] [stdout] 10 |     RoundRobin,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Random,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strategy` and `node_loads` are never read
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LoadBalancer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 19 |     /// 负载均衡策略
[INFO] [stdout] 20 |     strategy: LoadBalancingStrategy,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     /// 节点负载信息
[INFO] [stdout] 22 |     node_loads: HashMap<Uuid, usize>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_node`, `update_node_load`, and `remove_node` are never used
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LoadBalancer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn select_node<'a>(&self, available_nodes: &'a [NodeInfo]) -> Result<Option<&'a NodeInfo>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn update_node_load(&mut self, node_id: Uuid, load: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn remove_node(&mut self, node_id: &Uuid) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_secret` is never read
[INFO] [stdout]  --> src/security/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SecurityConfig {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 6 |     /// JWT密钥
[INFO] [stdout] 7 |     pub jwt_secret: Vec<u8>,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SecurityConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/security/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SecurityConfig {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(jwt_secret: Vec<u8>, token_expiration: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `decoding_key` is never read
[INFO] [stdout]   --> src/security/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AuthManager {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     decoding_key: DecodingKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_config` and `verify_token` are never used
[INFO] [stdout]   --> src/security/auth.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl AuthManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn with_config(config: SecurityConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn verify_token(&self, token: &str) -> Result<Claims> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthInterceptor` is never constructed
[INFO] [stdout]   --> src/security/auth.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct AuthInterceptor {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `intercept` are never used
[INFO] [stdout]    --> src/security/auth.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl AuthInterceptor {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn new(auth_manager: AuthManager) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn intercept<T>(&self, request: Request<T>) -> std::result::Result<Request<T>, Status> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskStatus` is never used
[INFO] [stdout]   --> src/task/mod.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum TaskStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskManager` is never constructed
[INFO] [stdout]   --> src/task/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TaskManager {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/task/mod.rs:35:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl TaskManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  34 |     /// 创建新的任务管理器
[INFO] [stdout]  35 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub async fn submit_task(&self, task: TaskSpec) -> Result<Uuid> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn update_task_status(&self, task_id: Uuid, status: TaskStatus) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub async fn set_task_result(&self, result: TaskResult) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub async fn get_task_status(&self, task_id: Uuid) -> Result<TaskStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub async fn get_task_result(&self, task_id: Uuid) -> Result<Option<TaskResult>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn notification_manager(&self) -> &notification::NotificationManager {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer_size` is never read
[INFO] [stdout]   --> src/task/notification.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct NotificationManager {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     buffer_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NotificationManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `notify`, `subscriber_count`, and `buffer_capacity` are never used
[INFO] [stdout]   --> src/task/notification.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl NotificationManager {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn notify(&self, result: TaskResult) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn subscriber_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn buffer_capacity(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `submit_task` and `get_worker_count` are never used
[INFO] [stdout]    --> src/head/mod.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl HeadNode {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub async fn submit_task(&self, task: TaskSpec) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub async fn get_worker_count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskScheduler` is never constructed
[INFO] [stdout]  --> src/scheduler/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct TaskScheduler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `schedule_task` are never used
[INFO] [stdout]   --> src/scheduler/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TaskScheduler {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 14 |     /// 创建新的任务调度器
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn schedule_task(&self, task: TaskSpec) -> Result<Uuid> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RoundRobin` and `Random` are never constructed
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum LoadBalancingStrategy {
[INFO] [stdout]    |          --------------------- variants in this enum
[INFO] [stdout]  9 |     /// 轮询策略
[INFO] [stdout] 10 |     RoundRobin,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Random,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadBalancingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `strategy` and `node_loads` are never read
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LoadBalancer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 19 |     /// 负载均衡策略
[INFO] [stdout] 20 |     strategy: LoadBalancingStrategy,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     /// 节点负载信息
[INFO] [stdout] 22 |     node_loads: HashMap<Uuid, usize>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `select_node`, `update_node_load`, and `remove_node` are never used
[INFO] [stdout]   --> src/scheduler/load_balancer.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl LoadBalancer {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn select_node<'a>(&self, available_nodes: &'a [NodeInfo]) -> Result<Option<&'a NodeInfo>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn update_node_load(&mut self, node_id: Uuid, load: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn remove_node(&mut self, node_id: &Uuid) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_secret` is never read
[INFO] [stdout]  --> src/security/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SecurityConfig {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 6 |     /// JWT密钥
[INFO] [stdout] 7 |     pub jwt_secret: Vec<u8>,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SecurityConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/security/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SecurityConfig {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn new(jwt_secret: Vec<u8>, token_expiration: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `decoding_key` is never read
[INFO] [stdout]   --> src/security/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AuthManager {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     decoding_key: DecodingKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_config` and `verify_token` are never used
[INFO] [stdout]   --> src/security/auth.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl AuthManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn with_config(config: SecurityConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn verify_token(&self, token: &str) -> Result<Claims> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthInterceptor` is never constructed
[INFO] [stdout]   --> src/security/auth.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct AuthInterceptor {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `intercept` are never used
[INFO] [stdout]    --> src/security/auth.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl AuthInterceptor {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn new(auth_manager: AuthManager) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn intercept<T>(&self, request: Request<T>) -> std::result::Result<Request<T>, Status> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskStatus` is never used
[INFO] [stdout]   --> src/task/mod.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum TaskStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskManager` is never constructed
[INFO] [stdout]   --> src/task/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct TaskManager {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/task/mod.rs:35:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl TaskManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  34 |     /// 创建新的任务管理器
[INFO] [stdout]  35 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub async fn submit_task(&self, task: TaskSpec) -> Result<Uuid> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn update_task_status(&self, task_id: Uuid, status: TaskStatus) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub async fn set_task_result(&self, result: TaskResult) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub async fn get_task_status(&self, task_id: Uuid) -> Result<TaskStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub async fn get_task_result(&self, task_id: Uuid) -> Result<Option<TaskResult>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn notification_manager(&self) -> &notification::NotificationManager {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer_size` is never read
[INFO] [stdout]   --> src/task/notification.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct NotificationManager {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     buffer_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NotificationManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `notify`, `subscriber_count`, and `buffer_capacity` are never used
[INFO] [stdout]   --> src/task/notification.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl NotificationManager {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn notify(&self, result: TaskResult) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn subscriber_count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn buffer_capacity(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.47s
[INFO] running `Command { std: "docker" "inspect" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a", kill_on_drop: false }`
[INFO] [stdout] c90e8d4a47194678710e23be4c2e96c6a3fbfdce483f2b57c085e0d78cbc217a
