warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /tmp/guru-connect/agent/Cargo.toml workspace: /tmp/guru-connect/Cargo.toml warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /tmp/guru-connect/server/Cargo.toml workspace: /tmp/guru-connect/Cargo.toml Compiling proc-macro2 v1.0.103 Compiling libc v0.2.178 Compiling cfg-if v1.0.4 Compiling quote v1.0.42 Compiling serde_core v1.0.228 Compiling serde v1.0.228 Compiling generic-array v0.14.7 Compiling parking_lot_core v0.9.12 Compiling autocfg v1.5.0 Compiling bytes v1.11.0 Compiling icu_normalizer_data v2.1.1 Compiling itoa v1.0.16 Compiling icu_properties_data v2.1.2 Compiling pin-project-lite v0.2.16 Compiling typenum v1.19.0 Compiling zerocopy v0.8.31 Compiling stable_deref_trait v1.2.1 Compiling syn v2.0.111 Compiling futures-core v0.3.31 Compiling crossbeam-utils v0.8.21 Compiling scopeguard v1.2.0 Compiling lock_api v0.4.14 Compiling subtle v2.6.1 Compiling futures-sink v0.3.31 Compiling thiserror v2.0.17 Compiling serde_json v1.0.145 Compiling signal-hook-registry v1.4.7 Compiling socket2 v0.6.1 Compiling mio v1.1.1 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.7 Compiling digest v0.10.7 Compiling memchr v2.7.6 Compiling getrandom v0.2.16 Compiling getrandom v0.3.4 Compiling writeable v0.6.2 Compiling litemap v0.8.1 Compiling anyhow v1.0.100 Compiling log v0.4.29 Compiling equivalent v1.0.2 Compiling num-traits v0.2.19 Compiling once_cell v1.21.3 Compiling pin-utils v0.1.0 Compiling tracing-core v0.1.36 Compiling hashbrown v0.16.1 Compiling rand_core v0.6.4 Compiling http v1.4.0 Compiling futures-io v0.3.31 Compiling indexmap v2.12.1 Compiling slab v0.4.11 Compiling bitflags v2.10.0 Compiling futures-task v0.3.31 Compiling cpufeatures v0.2.17 Compiling percent-encoding v2.3.2 Compiling utf8_iter v1.0.4 Compiling tinyvec_macros v0.1.1 Compiling httparse v1.10.1 Compiling foldhash v0.1.5 Compiling ryu v1.0.21 Compiling allocator-api2 v0.2.21 Compiling tinyvec v1.10.0 Compiling synstructure v0.13.2 Compiling hashbrown v0.15.5 Compiling form_urlencoded v1.2.2 Compiling tokio v1.48.0 Compiling http-body v1.0.1 Compiling ppv-lite86 v0.2.21 Compiling concurrent-queue v2.5.0 Compiling shlex v1.3.0 Compiling rand_chacha v0.3.1 Compiling base64 v0.22.1 Compiling find-msvc-tools v0.1.5 Compiling crc32fast v1.5.0 Compiling parking v2.2.1 Compiling heck v0.5.0 Compiling rustix v1.1.2 Compiling iana-time-zone v0.1.64 Compiling crc-catalog v2.4.0 Compiling crc v3.4.0 Compiling futures-util v0.3.31 Compiling chrono v0.4.42 Compiling serde_derive v1.0.228 Compiling zerofrom-derive v0.1.6 Compiling yoke-derive v0.8.1 Compiling zerovec-derive v0.11.2 Compiling displaydoc v0.2.5 Compiling tracing-attributes v0.1.31 Compiling tokio-macros v2.6.0 Compiling thiserror-impl v2.0.17 Compiling zerofrom v0.1.6 Compiling yoke v0.8.1 Compiling zerovec v0.11.5 Compiling zerotrie v0.2.3 Compiling tinystr v0.8.2 Compiling icu_locale_core v2.1.1 Compiling potential_utf v0.1.4 Compiling icu_collections v2.1.1 Compiling futures-macro v0.3.31 Compiling tracing v0.1.44 Compiling icu_provider v2.1.1 Compiling tokio-stream v0.1.17 Compiling icu_properties v2.1.2 Compiling either v1.15.0 Compiling smallvec v1.15.1 Compiling itertools v0.14.0 Compiling icu_normalizer v2.1.1 Compiling parking_lot v0.12.5 Compiling idna_adapter v1.2.1 Compiling idna v1.1.0 Compiling url v2.5.7 Compiling futures-intrusive v0.5.0 Compiling sha2 v0.10.9 Compiling event-listener v5.4.1 Compiling prost-derive v0.13.5 Compiling rand v0.8.5 Compiling cc v1.2.50 Compiling hashlink v0.10.0 Compiling unicode-normalization v0.1.25 Compiling crossbeam-queue v0.3.12 Compiling hmac v0.12.1 Compiling futures-channel v0.3.31 Compiling byteorder v1.5.0 Compiling linux-raw-sys v0.11.0 Compiling regex-syntax v0.8.8 Compiling unicode-bidi v0.3.18 Compiling tower-service v0.3.3 Compiling thiserror v1.0.69 Compiling prettyplease v0.2.37 Compiling uuid v1.19.0 Compiling simd-adler32 v0.3.8 Compiling unicode-properties v0.1.4 Compiling adler2 v2.0.1 Compiling stringprep v0.1.5 Compiling miniz_oxide v0.8.9 Compiling sqlx-core v0.8.6 Compiling ring v0.17.14 Compiling regex-automata v0.4.13 Compiling prost v0.13.5 Compiling hkdf v0.12.4 Compiling thiserror-impl v1.0.69 Compiling atoi v2.0.0 Compiling md-5 v0.10.6 Compiling rustversion v1.0.22 Compiling num-conv v0.1.0 Compiling home v0.5.12 Compiling unicase v2.8.1 Compiling fixedbitset v0.5.7 Compiling hex v0.4.3 Compiling time-core v0.1.6 Compiling powerfmt v0.2.0 Compiling fastrand v2.3.0 Compiling whoami v1.6.1 Compiling dotenvy v0.15.7 Compiling mime v0.3.17 Compiling httpdate v1.0.3 Compiling tower-layer v0.3.3 Compiling sqlx-postgres v0.8.6 Compiling tempfile v3.23.0 Compiling deranged v0.5.5 Compiling time-macros v0.2.24 Compiling petgraph v0.7.1 Compiling mime_guess v2.0.5 Compiling regex v1.12.2 Compiling flate2 v1.1.5 Compiling prost-types v0.13.5 Compiling http-body-util v0.1.3 Compiling num-integer v0.1.46 Compiling sha1 v0.10.6 Compiling sync_wrapper v1.0.2 Compiling atomic-waker v1.1.2 Compiling multimap v0.10.1 Compiling utf-8 v0.7.6 Compiling compression-core v0.4.31 Compiling data-encoding v2.9.0 Compiling compression-codecs v0.4.35 Compiling tungstenite v0.24.0 Compiling time v0.3.44 Compiling sqlx-macros-core v0.8.6 Compiling prost-build v0.13.5 Compiling hyper v1.8.1 Compiling num-bigint v0.4.6 Compiling serde_spanned v0.6.9 Compiling toml_datetime v0.6.3 Compiling async-trait v0.1.89 Compiling winnow v0.5.40 Compiling lazy_static v1.5.0 Compiling untrusted v0.9.0 Compiling base64ct v1.8.1 Compiling password-hash v0.5.0 Compiling toml_edit v0.20.2 Compiling sharded-slab v0.1.7 Compiling axum-core v0.4.5 Compiling simple_asn1 v0.6.3 Compiling sqlx-macros v0.8.6 Compiling guruconnect-server v0.1.0 (/tmp/guru-connect/server) Compiling hyper-util v0.1.19 Compiling matchers v0.2.0 Compiling tokio-tungstenite v0.24.0 Compiling async-compression v0.4.36 Compiling tower v0.5.2 Compiling tokio-util v0.7.17 Compiling serde_urlencoded v0.7.1 Compiling axum-macros v0.4.2 Compiling pem v3.0.6 Compiling tracing-log v0.2.0 Compiling serde_path_to_error v0.1.20 Compiling blake2 v0.10.6 Compiling thread_local v1.1.9 Compiling matchit v0.7.3 Compiling http-range-header v0.4.2 Compiling nu-ansi-term v0.50.3 Compiling tracing-subscriber v0.3.22 Compiling tower-http v0.6.8 Compiling axum v0.7.9 Compiling argon2 v0.5.3 Compiling jsonwebtoken v9.3.1 Compiling sqlx v0.8.6 Compiling toml v0.8.2 warning: unused variable: `config` --> server/src/main.rs:54:9 | 54 | let config = config::Config::load()?; | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: struct `ValidateParams` is never constructed --> server/src/main.rs:138:8 | 138 | struct ValidateParams { | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `listen_addr`, `database_url`, `jwt_secret`, and `debug` are never read --> server/src/config.rs:10:9 | 8 | pub struct Config { | ------ fields in this struct 9 | /// Address to listen on (e.g., "0.0.0.0:8080") 10 | pub listen_addr: String, | ^^^^^^^^^^^ ... 13 | pub database_url: Option, | ^^^^^^^^^^^^ ... 16 | pub jwt_secret: Option, | ^^^^^^^^^^ ... 19 | pub debug: bool, | ^^^^^ | = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: constant `HEARTBEAT_TIMEOUT_SECS` is never used --> server/src/session/mod.rs:22:7 | 22 | const HEARTBEAT_TIMEOUT_SECS: u64 = 90; | ^^^^^^^^^^^^^^^^^^^^^^ warning: field `input_rx` is never read --> server/src/session/mod.rs:58:5 | 52 | struct SessionData { | ----------- field in this struct ... 58 | input_rx: Option, | ^^^^^^^^ warning: methods `is_session_timed_out`, `get_timed_out_sessions`, `get_session_by_agent`, and `remove_session` are never used --> server/src/session/mod.rs:185:18 | 72 | impl SessionManager { | ------------------- methods in this implementation ... 185 | pub async fn is_session_timed_out(&self, session_id: SessionId) -> bool { | ^^^^^^^^^^^^^^^^^^^^ ... 195 | pub async fn get_timed_out_sessions(&self) -> Vec { | ^^^^^^^^^^^^^^^^^^^^^^ ... 205 | pub async fn get_session_by_agent(&self, agent_id: &str) -> Option { | ^^^^^^^^^^^^^^^^^^^^ ... 317 | pub async fn remove_session(&self, session_id: SessionId) { | ^^^^^^^^^^^^^^ warning: struct `AuthenticatedUser` is never constructed --> server/src/auth/mod.rs:13:12 | 13 | pub struct AuthenticatedUser { | ^^^^^^^^^^^^^^^^^ warning: struct `AuthenticatedAgent` is never constructed --> server/src/auth/mod.rs:21:12 | 21 | pub struct AuthenticatedAgent { | ^^^^^^^^^^^^^^^^^^ warning: function `validate_agent_key` is never used --> server/src/auth/mod.rs:54:8 | 54 | pub fn validate_agent_key(_api_key: &str) -> Option { | ^^^^^^^^^^^^^^^^^^ warning: function `list_sessions` is never used --> server/src/api/mod.rs:51:14 | 51 | pub async fn list_sessions( | ^^^^^^^^^^^^^ warning: function `get_session` is never used --> server/src/api/mod.rs:59:14 | 59 | pub async fn get_session( | ^^^^^^^^^^^ warning: struct `Database` is never constructed --> server/src/db/mod.rs:10:12 | 10 | pub struct Database { | ^^^^^^^^ warning: associated function `init` is never used --> server/src/db/mod.rs:17:18 | 15 | impl Database { | ------------- associated function in this implementation 16 | /// Initialize database connection 17 | pub async fn init(_database_url: &str) -> Result { | ^^^^ warning: struct `SessionEvent` is never constructed --> server/src/db/mod.rs:25:12 | 25 | pub struct SessionEvent { | ^^^^^^^^^^^^ warning: enum `SessionEventType` is never used --> server/src/db/mod.rs:32:10 | 32 | pub enum SessionEventType { | ^^^^^^^^^^^^^^^^ warning: method `log_session_event` is never used --> server/src/db/mod.rs:41:18 | 39 | impl Database { | ------------- method in this implementation 40 | /// Log a session event (placeholder) 41 | pub async fn log_session_event(&self, _event: SessionEvent) -> Result<()> { | ^^^^^^^^^^^^^^^^^ warning: field `technician_id` is never read --> server/src/support_codes.rs:39:9 | 38 | pub struct CreateCodeRequest { | ----------------- field in this struct 39 | pub technician_id: Option, | ^^^^^^^^^^^^^ | = note: `CreateCodeRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: methods `get_code`, `is_valid_for_connection`, `list_codes`, and `get_by_session` are never used --> server/src/support_codes.rs:166:18 | 60 | impl SupportCodeManager { | ----------------------- methods in this implementation ... 166 | pub async fn get_code(&self, code: &str) -> Option { | ^^^^^^^^ ... 198 | pub async fn is_valid_for_connection(&self, code: &str) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 204 | pub async fn list_codes(&self) -> Vec { | ^^^^^^^^^^ ... 219 | pub async fn get_by_session(&self, session_id: Uuid) -> Option { | ^^^^^^^^^^^^^^ warning: `guruconnect-server` (bin "guruconnect-server") generated 18 warnings (run `cargo fix --bin "guruconnect-server" -p guruconnect-server` to apply 1 suggestion) Finished `release` profile [optimized] target(s) in 57.14s