[INFO] cloning repository https://github.com/Aakanksha638/WorkBinder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aakanksha638/WorkBinder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAakanksha638%2FWorkBinder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAakanksha638%2FWorkBinder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd6a4ac0018d7cc72dd685f37d2e1921d0cf42dc [INFO] checking Aakanksha638/WorkBinder against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAakanksha638%2FWorkBinder" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Aakanksha638/WorkBinder [INFO] finished tweaking git repo https://github.com/Aakanksha638/WorkBinder [INFO] tweaked toml for git repo https://github.com/Aakanksha638/WorkBinder written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aakanksha638/WorkBinder on toolchain 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Aakanksha638/WorkBinder 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: binary `Workbinder` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /workspace/builds/worker-0-tc2/source/target/.../Workbinder [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `workbinder`, convert `package.name` [INFO] [stderr] --> Cargo.toml:27:8 [INFO] [stderr] | [INFO] [stderr] 27 - name = "Workbinder" [INFO] [stderr] 27 + name = "workbinder" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `workbinder`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:28:19 [INFO] [stderr] | [INFO] [stderr] 28 ~ version = "0.1.0" [INFO] [stderr] 29 + [[bin]] [INFO] [stderr] 30 + name = "workbinder" [INFO] [stderr] 31 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `Workbinder` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b [INFO] running `Command { std: "docker" "start" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: binary `Workbinder` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /opt/rustwide/target/.../Workbinder [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `workbinder`, convert `package.name` [INFO] [stderr] --> Cargo.toml:27:8 [INFO] [stderr] | [INFO] [stderr] 27 - name = "Workbinder" [INFO] [stderr] 27 + name = "workbinder" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `workbinder`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:28:19 [INFO] [stderr] | [INFO] [stderr] 28 ~ version = "0.1.0" [INFO] [stderr] 29 + [[bin]] [INFO] [stderr] 30 + name = "workbinder" [INFO] [stderr] 31 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `Workbinder` (manifest) generated 1 warning [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Checking log v0.4.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling time-macros v0.2.29 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Checking time v0.3.49 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stderr] Checking Workbinder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StoredDocument` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use storage::{StorageLayer, StoredDocument}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiResult` and `validate_password` [INFO] [stdout] --> src/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | use errors::{WorkBindrError, ApiResult, require_field, validate_emp_id, validate_password, validate_content_length}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StoredDocument` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use storage::{StorageLayer, StoredDocument}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiResult` and `validate_password` [INFO] [stdout] --> src/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | use errors::{WorkBindrError, ApiResult, require_field, validate_emp_id, validate_password, validate_content_length}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_auth` is never used [INFO] [stdout] --> src/main.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn verify_auth( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event_count` is never used [INFO] [stdout] --> src/storage.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl StorageLayer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_event_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/employees.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl EmployeeRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation_key` is never used [INFO] [stdout] --> src/chat.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn conversation_key(emp_a: &str, emp_b: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_conversation_partners` is never used [INFO] [stdout] --> src/chat.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ChatStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_conversation_partners(&self, emp_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `account_exists` is never used [INFO] [stdout] --> src/auth.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AuthStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn account_exists(&self, emp_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_details` is never used [INFO] [stdout] --> src/errors.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ErrorResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn with_details(error_code: &str, message: &str, details: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidToken`, `MorkReadFailed`, `AIServiceFailed`, and `EmbeddingFailed` are never constructed [INFO] [stdout] --> src/errors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum WorkBindrError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | InvalidToken, // JWT expired or tampered [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | MorkReadFailed(String), // failed to read from event log [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | AIServiceFailed(String), // Groq API failed [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | EmbeddingFailed(String), // Jina API failed [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkBindrError` 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 `validate_password` is never used [INFO] [stdout] --> src/errors.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn validate_password(password: &str) -> ApiResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_event_recorded` is never used [INFO] [stdout] --> src/logger.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn log_event_recorded(&self, event_type: &str, actor: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_auth` is never used [INFO] [stdout] --> src/main.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn verify_auth( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event_count` is never used [INFO] [stdout] --> src/storage.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl StorageLayer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_event_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/employees.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl EmployeeRegistry { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conversation_key` is never used [INFO] [stdout] --> src/chat.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn conversation_key(emp_a: &str, emp_b: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_conversation_partners` is never used [INFO] [stdout] --> src/chat.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ChatStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_conversation_partners(&self, emp_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `account_exists` is never used [INFO] [stdout] --> src/auth.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl AuthStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn account_exists(&self, emp_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_details` is never used [INFO] [stdout] --> src/errors.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ErrorResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn with_details(error_code: &str, message: &str, details: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidToken`, `MorkReadFailed`, `AIServiceFailed`, and `EmbeddingFailed` are never constructed [INFO] [stdout] --> src/errors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum WorkBindrError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | InvalidToken, // JWT expired or tampered [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | MorkReadFailed(String), // failed to read from event log [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | AIServiceFailed(String), // Groq API failed [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | EmbeddingFailed(String), // Jina API failed [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkBindrError` 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 `validate_password` is never used [INFO] [stdout] --> src/errors.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn validate_password(password: &str) -> ApiResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_event_recorded` is never used [INFO] [stdout] --> src/logger.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn log_event_recorded(&self, event_type: &str, actor: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b", kill_on_drop: false }` [INFO] [stdout] 419771f1fa242a91c083fb3dba1971d765b0a610fde3178c8108a4914dd1876b