[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] 5305ff269d96ec7c8bcee2db3a4a7548e7fcc893 [INFO] testing Aakanksha638/WorkBinder against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAakanksha638%2FWorkBinder" "/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/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aakanksha638/WorkBinder on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219 [INFO] running `Command { std: "docker" "start" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", 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" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling time-macros v0.2.29 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling time v0.3.49 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.47 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http v1.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [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] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rocket_cors v0.6.0 [INFO] [stderr] Compiling 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: 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 49s [INFO] running `Command { std: "docker" "inspect" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `StoredDocument` [INFO] [stderr] --> src/main.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use storage::{StorageLayer, StoredDocument}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApiResult` and `validate_password` [INFO] [stderr] --> src/main.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | use errors::{WorkBindrError, ApiResult, require_field, validate_emp_id, validate_password, validate_content_length}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `verify_auth` is never used [INFO] [stderr] --> src/main.rs:351:4 [INFO] [stderr] | [INFO] [stderr] 351 | fn verify_auth( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_event_count` is never used [INFO] [stderr] --> src/storage.rs:304:12 [INFO] [stderr] | [INFO] [stderr] 115 | impl StorageLayer { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 304 | pub fn get_event_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `count` is never used [INFO] [stderr] --> src/employees.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 69 | impl EmployeeRegistry { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 224 | pub fn count(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `conversation_key` is never used [INFO] [stderr] --> src/chat.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn conversation_key(emp_a: &str, emp_b: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_conversation_partners` is never used [INFO] [stderr] --> src/chat.rs:196:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl ChatStore { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn get_conversation_partners(&self, emp_id: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `account_exists` is never used [INFO] [stderr] --> src/auth.rs:292:12 [INFO] [stderr] | [INFO] [stderr] 49 | impl AuthStore { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 292 | pub fn account_exists(&self, emp_id: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_details` is never used [INFO] [stderr] --> src/errors.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl ErrorResponse { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn with_details(error_code: &str, message: &str, details: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidToken`, `MorkReadFailed`, `AIServiceFailed`, and `EmbeddingFailed` are never constructed [INFO] [stderr] --> src/errors.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub enum WorkBindrError { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 60 | InvalidToken, // JWT expired or tampered [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | MorkReadFailed(String), // failed to read from event log [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | AIServiceFailed(String), // Groq API failed [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 78 | EmbeddingFailed(String), // Jina API failed [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WorkBindrError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `validate_password` is never used [INFO] [stderr] --> src/errors.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 245 | pub fn validate_password(password: &str) -> ApiResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `log_event_recorded` is never used [INFO] [stderr] --> src/logger.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 61 | impl Logger { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn log_event_recorded(&self, event_type: &str, actor: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Workbinder` (bin "Workbinder" test) generated 12 warnings (run `cargo fix --bin "Workbinder" -p Workbinder --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/Workbinder/c3eb42af1be58e90/out/Workbinder-c3eb42af1be58e90) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219", kill_on_drop: false }` [INFO] [stdout] b5a80bbc8db896471d76d0e02eb3197b07d335ac00f07d9134902a1a7406b219