[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] building promoteAI/rustray against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FpromoteAI%2Frustray" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/promoteAI/rustray on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.94
[INFO] [stderr]   Downloaded prost v0.11.9
[INFO] [stderr]   Downloaded prost-derive v0.11.9
[INFO] [stderr]   Downloaded multimap v0.8.3
[INFO] [stderr]   Downloaded tonic-build v0.9.2
[INFO] [stderr]   Downloaded prost-build v0.11.9
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.97
[INFO] [stderr]   Downloaded tokio-io-timeout v1.2.0
[INFO] [stderr]   Downloaded hyper-timeout v0.4.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.97
[INFO] [stderr]   Downloaded js-sys v0.3.74
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.97
[INFO] [stderr]   Downloaded cc v1.2.2
[INFO] [stderr]   Downloaded tonic v0.9.2
[INFO] [stderr]   Downloaded portable-atomic v1.10.0
[INFO] [stderr]   Downloaded portable-atomic v0.3.20
[INFO] [stderr]   Downloaded metrics v0.20.1
[INFO] [stderr]   Downloaded metrics-macros v0.6.0
[INFO] [stderr]   Downloaded prost-types v0.11.9
[INFO] [stderr]   Downloaded rustix v0.38.41
[INFO] [stderr]   Downloaded web-sys v0.3.74
[INFO] [stderr]   Downloaded libc v0.2.167
[INFO] [stderr]   Downloaded serde_json v1.0.133
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 671cb9013f69b43f05a4d1bf027c94afb683ca5657e1dd4ac0c920b857fa2ea4
[INFO] running `Command { std: "docker" "start" "-a" "671cb9013f69b43f05a4d1bf027c94afb683ca5657e1dd4ac0c920b857fa2ea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "671cb9013f69b43f05a4d1bf027c94afb683ca5657e1dd4ac0c920b857fa2ea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "671cb9013f69b43f05a4d1bf027c94afb683ca5657e1dd4ac0c920b857fa2ea4", kill_on_drop: false }`
[INFO] [stdout] 671cb9013f69b43f05a4d1bf027c94afb683ca5657e1dd4ac0c920b857fa2ea4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46db474ef8138333372b70d71854dd54dbbcb0af14b93dd44be579a3a5ae97aa
[INFO] running `Command { std: "docker" "start" "-a" "46db474ef8138333372b70d71854dd54dbbcb0af14b93dd44be579a3a5ae97aa", 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]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[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 http v0.2.12
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling portable-atomic v1.10.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling time-macros v0.2.19
[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]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling metrics v0.20.1
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling metrics-macros v0.6.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[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 v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling simple_asn1 v0.6.2
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling tonic-build v0.9.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustray v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling 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: 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 1m 07s
[INFO] running `Command { std: "docker" "inspect" "46db474ef8138333372b70d71854dd54dbbcb0af14b93dd44be579a3a5ae97aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46db474ef8138333372b70d71854dd54dbbcb0af14b93dd44be579a3a5ae97aa", kill_on_drop: false }`
[INFO] [stdout] 46db474ef8138333372b70d71854dd54dbbcb0af14b93dd44be579a3a5ae97aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bff9e652116c4fa72d63710e4ea1ae7a6937f0909472eba28e6a1091878db4d3
[INFO] running `Command { std: "docker" "start" "-a" "bff9e652116c4fa72d63710e4ea1ae7a6937f0909472eba28e6a1091878db4d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustray v0.1.0 (/opt/rustwide/workdir)
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "bff9e652116c4fa72d63710e4ea1ae7a6937f0909472eba28e6a1091878db4d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff9e652116c4fa72d63710e4ea1ae7a6937f0909472eba28e6a1091878db4d3", kill_on_drop: false }`
[INFO] [stdout] bff9e652116c4fa72d63710e4ea1ae7a6937f0909472eba28e6a1091878db4d3
