[INFO] cloning repository https://github.com/X0Ken/easy-vm-cloud
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/X0Ken/easy-vm-cloud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX0Ken%2Feasy-vm-cloud", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX0Ken%2Feasy-vm-cloud'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 821045b1f9e7ca808271c47785317ab16b98c8b7
[INFO] checking X0Ken/easy-vm-cloud against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX0Ken%2Feasy-vm-cloud" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/X0Ken/easy-vm-cloud
[INFO] finished tweaking git repo https://github.com/X0Ken/easy-vm-cloud
[INFO] tweaked toml for git repo https://github.com/X0Ken/easy-vm-cloud written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/X0Ken/easy-vm-cloud on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/X0Ken/easy-vm-cloud 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c25c91092a741cf1458882c6504146b6166071add0d9a576237def80f0f337a7
[INFO] running `Command { std: "docker" "start" "-a" "c25c91092a741cf1458882c6504146b6166071add0d9a576237def80f0f337a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c25c91092a741cf1458882c6504146b6166071add0d9a576237def80f0f337a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c25c91092a741cf1458882c6504146b6166071add0d9a576237def80f0f337a7", kill_on_drop: false }`
[INFO] [stdout] c25c91092a741cf1458882c6504146b6166071add0d9a576237def80f0f337a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65961ec59cb7247fec9e59c62f96f3e933817b587fe198d96f95f4fff33d89fc
[INFO] running `Command { std: "docker" "start" "-a" "65961ec59cb7247fec9e59c62f96f3e933817b587fe198d96f95f4fff33d89fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking deranged v0.5.4
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.11.4
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling rust_decimal v1.38.0
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling webpki-roots v1.0.3
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pest v2.8.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking regex-syntax v0.8.7
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling pest_meta v2.8.3
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking rustls-webpki v0.103.7
[INFO] [stderr]     Checking regex-automata v0.4.12
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling pest_generator v2.8.3
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling virt-sys v0.2.1
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pest_derive v2.8.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling inherent v1.0.13
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]     Checking regex v1.12.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling sea-orm-macros v1.1.17
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking bcrypt v0.16.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking ouroboros v0.18.5
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking virt v0.3.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking sysinfo v0.32.1
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking sea-query v0.32.7
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking common v0.1.0 (/opt/rustwide/workdir/crates/common)
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> crates/common/src/ws_rpc/client.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{SinkExt, StreamExt};
[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 import: `StreamExt`
[INFO] [stdout]  --> crates/common/src/ws_rpc/client.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{SinkExt, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> crates/common/src/ws_rpc/client.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{SinkExt, StreamExt};
[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 import: `StreamExt`
[INFO] [stdout]  --> crates/common/src/ws_rpc/client.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{SinkExt, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking agent v0.1.0 (/opt/rustwide/workdir/crates/agent)
[INFO] [stdout] warning: fields `node_name`, `heartbeat_interval`, `log_level`, and `network_provider_interface` are never read
[INFO] [stdout]   --> crates/agent/src/config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub node_id: String,
[INFO] [stdout]  8 |     pub node_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  9 |     pub server_ws_url: String,
[INFO] [stdout] 10 |     pub heartbeat_interval: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 12 |     pub network_provider_interface: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_migration_progress` and `abort_migration` are never used
[INFO] [stdout]    --> crates/agent/src/hypervisor/manager.rs:838:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl HypervisorManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 838 |     pub async fn get_migration_progress(&self, vm_id: &str) -> Result<(f64, u64)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 879 |     pub async fn abort_migration(&self, vm_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VMInfo` is never constructed
[INFO] [stdout]    --> crates/agent/src/hypervisor/manager.rs:925:12
[INFO] [stdout]     |
[INFO] [stdout] 925 | pub struct VMInfo {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `system` is never read
[INFO] [stdout]  --> crates/agent/src/metrics/collector.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MetricsCollector {
[INFO] [stdout]   |            ---------------- field in this struct
[INFO] [stdout] 8 |     system: System,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `refresh`, `cpu_usage`, `memory_usage`, and `disk_usage` are never used
[INFO] [stdout]   --> crates/agent/src/metrics/collector.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MetricsCollector {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn refresh(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn cpu_usage(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn memory_usage(&self) -> (u64, u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn disk_usage(&self) -> (u64, u64) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_bridge_name` is never used
[INFO] [stdout]   --> crates/agent/src/network/manager.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NetworkManager {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_bridge_name(vlan_id: Option<u32>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `generate_bridge_name` is never used
[INFO] [stdout]    --> crates/agent/src/network/bridge.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl LinuxBridge {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub fn generate_bridge_name(vlan_id: Option<u32>) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `node_id`, `hostname`, `ip_address`, `check_virtualization_capability`, and `get_supported_architectures` are never used
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl NodeManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn node_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn hostname(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn ip_address(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn check_virtualization_capability(&self) -> VirtualizationCapability {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn get_supported_architectures(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtualizationCapability` is never constructed
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct VirtualizationCapability {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_virtualization_supported` and `primary_hypervisor` are never used
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | impl VirtualizationCapability {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] 223 |     /// 检查是否支持虚拟化
[INFO] [stdout] 224 |     pub fn is_virtualization_supported(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn primary_hypervisor(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `driver_type` is never used
[INFO] [stdout]   --> crates/agent/src/storage/driver.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait StorageDriver: Send + Sync + 'static {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn driver_type(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_registered_pools` is never used
[INFO] [stdout]    --> crates/agent/src/storage/manager.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl StorageManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn list_registered_pools(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool_config` is never read
[INFO] [stdout]   --> crates/agent/src/storage/nfs.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct NfsDriver {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     /// 存储池配置
[INFO] [stdout] 16 |     pool_config: StoragePoolConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `state`, `is_registered`, and `get_notification_sender` are never used
[INFO] [stdout]    --> crates/agent/src/ws/client.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl WsClient {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub async fn state(&self) -> ClientState {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn is_registered(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn get_notification_sender(&self) -> Option<mpsc::UnboundedSender<RpcMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_name`, `heartbeat_interval`, `log_level`, and `network_provider_interface` are never read
[INFO] [stdout]   --> crates/agent/src/config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub node_id: String,
[INFO] [stdout]  8 |     pub node_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]  9 |     pub server_ws_url: String,
[INFO] [stdout] 10 |     pub heartbeat_interval: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 12 |     pub network_provider_interface: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_migration_progress` and `abort_migration` are never used
[INFO] [stdout]    --> crates/agent/src/hypervisor/manager.rs:838:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl HypervisorManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 838 |     pub async fn get_migration_progress(&self, vm_id: &str) -> Result<(f64, u64)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 879 |     pub async fn abort_migration(&self, vm_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VMInfo` is never constructed
[INFO] [stdout]    --> crates/agent/src/hypervisor/manager.rs:925:12
[INFO] [stdout]     |
[INFO] [stdout] 925 | pub struct VMInfo {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `system` is never read
[INFO] [stdout]  --> crates/agent/src/metrics/collector.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MetricsCollector {
[INFO] [stdout]   |            ---------------- field in this struct
[INFO] [stdout] 8 |     system: System,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `refresh`, `cpu_usage`, `memory_usage`, and `disk_usage` are never used
[INFO] [stdout]   --> crates/agent/src/metrics/collector.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MetricsCollector {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn refresh(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn cpu_usage(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn memory_usage(&self) -> (u64, u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn disk_usage(&self) -> (u64, u64) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_bridge_name` is never used
[INFO] [stdout]   --> crates/agent/src/network/manager.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl NetworkManager {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_bridge_name(vlan_id: Option<u32>) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `node_id`, `hostname`, `ip_address`, `check_virtualization_capability`, and `get_supported_architectures` are never used
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl NodeManager {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn node_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn hostname(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn ip_address(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn check_virtualization_capability(&self) -> VirtualizationCapability {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn get_supported_architectures(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtualizationCapability` is never constructed
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct VirtualizationCapability {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_virtualization_supported` and `primary_hypervisor` are never used
[INFO] [stdout]    --> crates/agent/src/node/mod.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | impl VirtualizationCapability {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] 223 |     /// 检查是否支持虚拟化
[INFO] [stdout] 224 |     pub fn is_virtualization_supported(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn primary_hypervisor(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `driver_type` is never used
[INFO] [stdout]   --> crates/agent/src/storage/driver.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait StorageDriver: Send + Sync + 'static {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn driver_type(&self) -> &str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list_registered_pools` is never used
[INFO] [stdout]    --> crates/agent/src/storage/manager.rs:196:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl StorageManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn list_registered_pools(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool_config` is never read
[INFO] [stdout]   --> crates/agent/src/storage/nfs.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct NfsDriver {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     /// 存储池配置
[INFO] [stdout] 16 |     pool_config: StoragePoolConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `state`, `is_registered`, and `get_notification_sender` are never used
[INFO] [stdout]    --> crates/agent/src/ws/client.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl WsClient {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub async fn state(&self) -> ClientState {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub async fn is_registered(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn get_notification_sender(&self) -> Option<mpsc::UnboundedSender<RpcMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking sea-query-binder v0.7.0
[INFO] [stderr]     Checking sea-orm v1.1.17
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir/crates/server)
[INFO] [stdout] warning: unused import: `SnapshotVolumeRequest`
[INFO] [stdout]   --> crates/server/src/services/storage_service.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     SnapshotVolumeRequest,
[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 import: `SnapshotVolumeRequest`
[INFO] [stdout]   --> crates/server/src/services/storage_service.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     SnapshotVolumeRequest,
[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 variable: `volume_id`
[INFO] [stdout]    --> crates/server/src/api/storage.rs:249:10
[INFO] [stdout]     |
[INFO] [stdout] 249 |     Path(volume_id): Path<String>,
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `volume_id`
[INFO] [stdout]    --> crates/server/src/api/storage.rs:249:10
[INFO] [stdout]     |
[INFO] [stdout] 249 |     Path(volume_id): Path<String>,
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:376:5
[INFO] [stdout]     |
[INFO] [stdout] 376 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 431 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:541:5
[INFO] [stdout]     |
[INFO] [stdout] 541 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:613:5
[INFO] [stdout]     |
[INFO] [stdout] 613 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> crates/server/src/ws/frontend_handler.rs:252:5
[INFO] [stdout]     |
[INFO] [stdout] 252 |     state: &crate::app_state::AppState,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `BadRequest` are never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 42 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 43 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AllocateIpRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct AllocateIpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReleaseIpRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ReleaseIpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BadRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/snapshots.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum ApiError {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 42 |     NotFound(String),
[INFO] [stdout] 43 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `BadRequest` are never constructed
[INFO] [stdout]   --> crates/server/src/api/storage.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 45 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 46 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TokenExpired` is never constructed
[INFO] [stdout]   --> crates/server/src/auth/jwt.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum AuthError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     TokenExpired,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_permission` is never used
[INFO] [stdout]    --> crates/server/src/auth/rbac.rs:229:14
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub async fn require_permission(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret` and `log_level` are never read
[INFO] [stdout]   --> crates/server/src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: struct `CreateIpAllocationDto` is never constructed
[INFO] [stdout]   --> crates/server/src/db/models/ip_allocation.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct CreateIpAllocationDto {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkType` is never used
[INFO] [stdout]   --> crates/server/src/db/models/network.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum NetworkType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/network.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl NetworkType {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 54 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeHeartbeatDto` is never constructed
[INFO] [stdout]    --> crates/server/src/db/models/node.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct NodeHeartbeatDto {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StoragePoolStatus` is never used
[INFO] [stdout]   --> crates/server/src/db/models/storage_pool.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum StoragePoolStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/storage_pool.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl StoragePoolStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 74 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Model {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Relation` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum Relation {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskStatus` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum TaskStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl TaskStatus {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 84 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskType` is never used
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub enum TaskType {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl TaskType {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 125 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskResponse` is never constructed
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct TaskResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `username` is never read
[INFO] [stdout]   --> crates/server/src/extractors.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct RequireAuth {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub user_id: i32,
[INFO] [stdout] 44 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequireAuth` 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: function `require_permission` is never used
[INFO] [stdout]   --> crates/server/src/middleware.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn require_permission(resource: &'static str, action: &'static str) -> impl Fn(Request, Next) -> std::pin::Pin<Box<dyn std::futu...
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskService` is never constructed
[INFO] [stdout]   --> crates/server/src/services/task_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TaskService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update_task_status`, `find_task_by_vm_operation`, `update_vm_status`, `handle_vm_operation_completed`, and `handle_vm_operation_completed_by_task_id` are never used
[INFO] [stdout]    --> crates/server/src/services/task_service.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl TaskService {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  17 |     pub fn new(state: AppState) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  22 |     pub async fn update_task_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn find_task_by_vm_operation(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub async fn update_vm_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn handle_vm_operation_completed(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn handle_vm_operation_completed_by_task_id(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success_with_message` is never used
[INFO] [stdout]   --> crates/server/src/utils.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn success_with_message(data: T, message: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hostname` and `ip_address` are never read
[INFO] [stdout]   --> crates/server/src/ws/agent_manager.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AgentConnection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub hostname: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub ip_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_nodes`, `count`, `is_online`, `broadcast`, and `start_heartbeat_monitor` are never used
[INFO] [stdout]    --> crates/server/src/ws/agent_manager.rs:214:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl AgentConnectionManager {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn list_nodes(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub async fn count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub async fn is_online(&self, node_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub async fn broadcast(
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     pub fn start_heartbeat_monitor(self, timeout_secs: u64, check_interval_secs: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `connection_id`, `user_id`, and `connected_at` are never read
[INFO] [stdout]   --> crates/server/src/ws/frontend_handler.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FrontendConnection {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 18 |     /// 连接 ID
[INFO] [stdout] 19 |     pub connection_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub user_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub connected_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FrontendConnection` 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: methods `get_all_connections`, `count`, and `send_to_user` are never used
[INFO] [stdout]    --> crates/server/src/ws/frontend_handler.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FrontendConnectionManager {
[INFO] [stdout]     | ------------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn get_all_connections(&self) -> Vec<Arc<FrontendConnection>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub async fn send_to_user(&self, user_id: &str, message: FrontendMessage) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:376:5
[INFO] [stdout]     |
[INFO] [stdout] 376 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:431:5
[INFO] [stdout]     |
[INFO] [stdout] 431 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:541:5
[INFO] [stdout]     |
[INFO] [stdout] 541 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]    --> crates/server/src/ws/handler.rs:613:5
[INFO] [stdout]     |
[INFO] [stdout] 613 |     connection: &super::agent_manager::AgentConnection,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> crates/server/src/ws/frontend_handler.rs:252:5
[INFO] [stdout]     |
[INFO] [stdout] 252 |     state: &crate::app_state::AppState,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `BadRequest` are never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 42 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 43 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AllocateIpRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct AllocateIpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReleaseIpRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/networks.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ReleaseIpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BadRequest` is never constructed
[INFO] [stdout]   --> crates/server/src/api/snapshots.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum ApiError {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 42 |     NotFound(String),
[INFO] [stdout] 43 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `BadRequest` are never constructed
[INFO] [stdout]   --> crates/server/src/api/storage.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | enum ApiError {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 45 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 46 |     BadRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TokenExpired` is never constructed
[INFO] [stdout]   --> crates/server/src/auth/jwt.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum AuthError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     TokenExpired,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_permission` is never used
[INFO] [stdout]    --> crates/server/src/auth/rbac.rs:229:14
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub async fn require_permission(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret` and `log_level` are never read
[INFO] [stdout]   --> crates/server/src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub log_level: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: struct `CreateIpAllocationDto` is never constructed
[INFO] [stdout]   --> crates/server/src/db/models/ip_allocation.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct CreateIpAllocationDto {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkType` is never used
[INFO] [stdout]   --> crates/server/src/db/models/network.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum NetworkType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/network.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl NetworkType {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 54 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeHeartbeatDto` is never constructed
[INFO] [stdout]    --> crates/server/src/db/models/node.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct NodeHeartbeatDto {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StoragePoolStatus` is never used
[INFO] [stdout]   --> crates/server/src/db/models/storage_pool.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum StoragePoolStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/storage_pool.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl StoragePoolStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 74 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Model` is never constructed
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Model {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Relation` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum Relation {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskStatus` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub enum TaskStatus {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> crates/server/src/db/models/task.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl TaskStatus {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 84 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TaskType` is never used
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub enum TaskType {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl TaskType {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 125 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskResponse` is never constructed
[INFO] [stdout]    --> crates/server/src/db/models/task.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct TaskResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `username` is never read
[INFO] [stdout]   --> crates/server/src/extractors.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct RequireAuth {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 43 |     pub user_id: i32,
[INFO] [stdout] 44 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequireAuth` 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: struct `TaskService` is never constructed
[INFO] [stdout]   --> crates/server/src/services/task_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct TaskService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update_task_status`, `find_task_by_vm_operation`, `update_vm_status`, `handle_vm_operation_completed`, and `handle_vm_operation_completed_by_task_id` are never used
[INFO] [stdout]    --> crates/server/src/services/task_service.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl TaskService {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  17 |     pub fn new(state: AppState) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  22 |     pub async fn update_task_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn find_task_by_vm_operation(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub async fn update_vm_status(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn handle_vm_operation_completed(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn handle_vm_operation_completed_by_task_id(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hostname` and `ip_address` are never read
[INFO] [stdout]   --> crates/server/src/ws/agent_manager.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AgentConnection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub hostname: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub ip_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_nodes`, `count`, `is_online`, `broadcast`, and `start_heartbeat_monitor` are never used
[INFO] [stdout]    --> crates/server/src/ws/agent_manager.rs:214:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl AgentConnectionManager {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn list_nodes(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub async fn count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub async fn is_online(&self, node_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub async fn broadcast(
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     pub fn start_heartbeat_monitor(self, timeout_secs: u64, check_interval_secs: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `connection_id`, `user_id`, and `connected_at` are never read
[INFO] [stdout]   --> crates/server/src/ws/frontend_handler.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FrontendConnection {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 18 |     /// 连接 ID
[INFO] [stdout] 19 |     pub connection_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub user_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub connected_at: chrono::DateTime<chrono::Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FrontendConnection` 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: methods `get_all_connections`, `count`, and `send_to_user` are never used
[INFO] [stdout]    --> crates/server/src/ws/frontend_handler.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FrontendConnectionManager {
[INFO] [stdout]     | ------------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn get_all_connections(&self) -> Vec<Arc<FrontendConnection>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub async fn count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub async fn send_to_user(&self, user_id: &str, message: FrontendMessage) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "65961ec59cb7247fec9e59c62f96f3e933817b587fe198d96f95f4fff33d89fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65961ec59cb7247fec9e59c62f96f3e933817b587fe198d96f95f4fff33d89fc", kill_on_drop: false }`
[INFO] [stdout] 65961ec59cb7247fec9e59c62f96f3e933817b587fe198d96f95f4fff33d89fc
