[INFO] cloning repository https://github.com/ryancinsight/OxiQMS
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryancinsight/OxiQMS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FOxiQMS", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FOxiQMS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edbd5c92ccc7e3b462e9e2c08a625d36fa652194
[INFO] checking ryancinsight/OxiQMS against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancinsight%2FOxiQMS" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryancinsight/OxiQMS
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/ryancinsight/OxiQMS
[INFO] tweaked toml for git repo https://github.com/ryancinsight/OxiQMS written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryancinsight/OxiQMS 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/ryancinsight/OxiQMS 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: Cargo.toml: file `/workspace/builds/worker-7-tc2/source/src/lib.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `qms`
[INFO] [stderr]   * `integration-test` target `unit_tests`
[INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: `qms` (manifest) generated 2 warnings
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 7 packages to highest compatible versions
[INFO] [stderr]       Adding arrayvec v0.4.12
[INFO] [stderr]       Adding blake2-rfc v0.2.18
[INFO] [stderr]       Adding constant_time_eq v0.1.5
[INFO] [stderr]       Adding crossbeam v0.2.12
[INFO] [stderr]       Adding nodrop v0.1.14
[INFO] [stderr]       Adding rust-argon2 v0.3.0 (available: v3.0.0)
[INFO] [stderr]       Adding rustc-serialize v0.3.25
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded rust-argon2 v0.3.0
[INFO] [stderr]   Downloaded crossbeam v0.2.12
[INFO] [stderr]   Downloaded tracing-appender v0.2.3
[INFO] [stderr]   Downloaded serde_json v1.0.141
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712
[INFO] running `Command { std: "docker" "start" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712", 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" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712", 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" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `qms`
[INFO] [stderr]   * `integration-test` target `unit_tests`
[INFO] [stderr] warning: Cargo.toml: `panic` setting is ignored for `test` profile
[INFO] [stderr] warning: `qms` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking crossbeam v0.2.12
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking rust-argon2 v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking qms v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0252]: the name `UserSession` is defined multiple times
[INFO] [stdout]   --> src/modules/user_manager/mod.rs:42:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     AuthenticationService, User, UserCredentials, UserSession, UserRole, Permission
[INFO] [stdout]    |                                                   ----------- previous import of the type `UserSession` here
[INFO] [stdout] ...
[INFO] [stdout] 42 |     UserAuthenticator, UserAuthorizer, UserStorage, SessionManager, RoleProvider, SessionStorage, UserSession, SessionType
[INFO] [stdout]    |                                                                                                   ^^^^^^^^^^^ `UserSession` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSession` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 42 |     UserAuthenticator, UserAuthorizer, UserStorage, SessionManager, RoleProvider, SessionStorage, UserSession as OtherUserSession, SessionType
[INFO] [stdout]    |                                                                                                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Permission` is defined multiple times
[INFO] [stdout]   --> src/modules/user_manager/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     AuthenticationService, User, UserCredentials, UserSession, UserRole, Permission
[INFO] [stdout]    |                                                                          ---------- previous import of the type `Permission` here
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub use crate::models::Permission;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ `Permission` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Permission` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use crate::models::Permission as OtherPermission;
[INFO] [stdout]    |                                   ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/fs_utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/lock.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::modules::audit_logger::AuditEntry`
[INFO] [stdout]  --> src/modules/audit_logger/signatures.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::modules::audit_logger::AuditEntry;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   no `AuditEntry` in `modules::audit_logger`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct through its public re-export instead
[INFO] [stdout]   |
[INFO] [stdout] 5 - use crate::modules::audit_logger::AuditEntry;
[INFO] [stdout] 5 + use crate::prelude::AuditEntry;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/repository/project.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::lock::lock_utils::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/traceability/impact.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::lock::lock_utils::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/traceability/verification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::lock::lock_utils::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]   --> src/prelude.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use crate::audit::{log_audit, log_command_execution, log_error, log_project_event};
[INFO] [stdout]    |                        ^^^^^^^^^ no `log_audit` in `audit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unresolved item `crate::lock::lock_utils::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::modules::user_manager::interfaces::AuthenticationStrategy`, `crate::modules::user_manager::interfaces::UserRole`, `crate::modules::user_manager::interfaces::AuthenticationContext`
[INFO] [stdout]  --> src/modules/user_manager/strategies/password_auth_strategy.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^ no `AuthenticationContext` in `modules::user_manager::interfaces`
[INFO] [stdout]   |     |                             |
[INFO] [stdout]   |     |                             no `UserRole` in `modules::user_manager::interfaces`
[INFO] [stdout]   |     no `AuthenticationStrategy` in `modules::user_manager::interfaces`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this enum through its public re-export instead:
[INFO] [stdout]           crate::modules::user_manager::UserRole
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 -     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout] 6 +     AuthenticationStrategy, User, UserRole, AuthenticationResult
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::modules::user_manager::interfaces::UserRole`
[INFO] [stdout]  --> src/modules/user_manager/unified_auth_service.rs:5:67
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::modules::user_manager::interfaces::{UserSession, User, UserRole, SessionType};
[INFO] [stdout]   |                                                                   ^^^^^^^^ no `UserRole` in `modules::user_manager::interfaces`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this enum through its public re-export instead:
[INFO] [stdout]           crate::modules::user_manager::UserRole
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `UserSession` is defined multiple times
[INFO] [stdout]   --> src/modules/user_manager/mod.rs:42:99
[INFO] [stdout]    |
[INFO] [stdout] 27 |     AuthenticationService, User, UserCredentials, UserSession, UserRole, Permission
[INFO] [stdout]    |                                                   ----------- previous import of the type `UserSession` here
[INFO] [stdout] ...
[INFO] [stdout] 42 |     UserAuthenticator, UserAuthorizer, UserStorage, SessionManager, RoleProvider, SessionStorage, UserSession, SessionType
[INFO] [stdout]    |                                                                                                   ^^^^^^^^^^^ `UserSession` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserSession` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 42 |     UserAuthenticator, UserAuthorizer, UserStorage, SessionManager, RoleProvider, SessionStorage, UserSession as OtherUserSession, SessionType
[INFO] [stdout]    |                                                                                                               +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Permission` is defined multiple times
[INFO] [stdout]   --> src/modules/user_manager/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     AuthenticationService, User, UserCredentials, UserSession, UserRole, Permission
[INFO] [stdout]    |                                                                          ---------- previous import of the type `Permission` here
[INFO] [stdout] ...
[INFO] [stdout] 57 | pub use crate::models::Permission;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ `Permission` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Permission` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use crate::models::Permission as OtherPermission;
[INFO] [stdout]    |                                   ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/fs_utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/lock.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::fs_utils::tests::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::modules::audit_logger::AuditEntry`
[INFO] [stdout]  --> src/modules/audit_logger/signatures.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::modules::audit_logger::AuditEntry;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   no `AuditEntry` in `modules::audit_logger`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct through its public re-export instead
[INFO] [stdout]   |
[INFO] [stdout] 5 - use crate::modules::audit_logger::AuditEntry;
[INFO] [stdout] 5 + use crate::prelude::AuditEntry;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/repository/project.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::lock::tests::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/traceability/impact.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::modules::repository::project::tests::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]  --> src/modules/traceability/verification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::audit::log_audit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^---------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   no `log_audit` in `audit`
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::modules::repository::project::tests::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::audit::log_audit`
[INFO] [stdout]   --> src/prelude.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use crate::audit::{log_audit, log_command_execution, log_error, log_project_event};
[INFO] [stdout]    |                        ^^^^^^^^^ no `log_audit` in `audit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unresolved item `crate::modules::repository::project::tests::log_audit` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::modules::user_manager::interfaces::AuthenticationStrategy`, `crate::modules::user_manager::interfaces::UserRole`, `crate::modules::user_manager::interfaces::AuthenticationContext`
[INFO] [stdout]  --> src/modules/user_manager/strategies/password_auth_strategy.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^ no `AuthenticationContext` in `modules::user_manager::interfaces`
[INFO] [stdout]   |     |                             |
[INFO] [stdout]   |     |                             no `UserRole` in `modules::user_manager::interfaces`
[INFO] [stdout]   |     no `AuthenticationStrategy` in `modules::user_manager::interfaces`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this enum through its public re-export instead:
[INFO] [stdout]           crate::modules::user_manager::UserRole
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 -     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout] 6 +     AuthenticationStrategy, User, UserRole, AuthenticationResult
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::modules::user_manager::interfaces::UserRole`
[INFO] [stdout]  --> src/modules/user_manager/unified_auth_service.rs:5:67
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::modules::user_manager::interfaces::{UserSession, User, UserRole, SessionType};
[INFO] [stdout]   |                                                                   ^^^^^^^^ no `UserRole` in `modules::user_manager::interfaces`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this enum through its public re-export instead:
[INFO] [stdout]           crate::modules::user_manager::UserRole
[INFO] [stdout]   = note: unresolved item `crate::modules::user_manager::strategies::password_auth_strategy::tests::UserRole` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:173:21
[INFO] [stdout]     |
[INFO] [stdout] 173 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:196:21
[INFO] [stdout]     |
[INFO] [stdout] 196 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3051:27
[INFO] [stdout]      |
[INFO] [stdout] 3051 | ...   crate::audit::log_audit(&format!("REGULATORY_MAPPING: Document {doc_id} mapped to {requirement_id} with compliance level {co...
[INFO] [stdout]      |                     ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3168:27
[INFO] [stdout]      |
[INFO] [stdout] 3168 |             crate::audit::log_audit(&format!("REGULATORY_VERIFICATION: Mapping {doc_id} -> {requirement_id} verified"));
[INFO] [stdout]      |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3220:19
[INFO] [stdout]      |
[INFO] [stdout] 3220 |     crate::audit::log_audit(&format!("REGULATORY_REMOVAL: Mapping {doc_id} -> {requirement_id} removed"));
[INFO] [stdout]      |                   ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3319:31
[INFO] [stdout]      |
[INFO] [stdout] 3319 |                 crate::audit::log_audit(&format!("COMPLIANCE_REPORT: Generated to {file_path}"));
[INFO] [stdout]      |                               ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/audit_logger/signatures.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub requirements: HashMap<String, SignaturePolicy>,
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/modules/audit_logger/signatures.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     project_path: PathBuf,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `JsonSerializable` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:104:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl JsonSerializable for ElectronicSignature {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonSerializable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:121:46
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn from_json(json: &str) -> Result<Self, JsonError> {
[INFO] [stdout]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:122:22
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let parsed = JsonValue::parse(json)?;
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 124 |         if let JsonValue::Object(obj) = parsed {
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:47
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::HashMap;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:63
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:106
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                                                                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:127:26
[INFO] [stdout]     |
[INFO] [stdout] 127 |                     Some(JsonValue::String(s)) => Ok(s.clone()),
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:128:36
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     Some(_) => Err(JsonError::InvalidFormat(format!("Field '{field}' is not a string"))),
[INFO] [stdout]     |                                    ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:129:33
[INFO] [stdout]     |
[INFO] [stdout] 129 |                     None => Err(JsonError::InvalidFormat(format!("Missing required field '{field}'"))),
[INFO] [stdout]     |                                 ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 |             Err(JsonError::InvalidFormat("Expected JSON object".to_string()))
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:160:32
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut requirements = HashMap::new();
[INFO] [stdout]     |                                ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::HashMap;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:200:30
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub fn new(project_path: PathBuf) -> Self {
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub const fn from_document_status(status: &DocumentStatus) -> Self {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             DocumentStatus::Draft => WorkflowState::Draft,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             DocumentStatus::InReview => WorkflowState::InReview,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             DocumentStatus::Approved => WorkflowState::Approved,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DocumentStatus::Deprecated => WorkflowState::Archived,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             DocumentStatus::Archived => WorkflowState::Archived,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:46:47
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const fn to_document_status(&self) -> DocumentStatus {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |             WorkflowState::Draft => DocumentStatus::Draft,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:49:50
[INFO] [stdout]    |
[INFO] [stdout] 49 |             WorkflowState::SubmittedForReview => DocumentStatus::InReview,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |             WorkflowState::InReview => DocumentStatus::InReview,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 |             WorkflowState::ApprovalPending => DocumentStatus::InReview,
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |             WorkflowState::Approved => DocumentStatus::Approved,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 |             WorkflowState::Rejected => DocumentStatus::Draft,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |             WorkflowState::Archived => DocumentStatus::Archived,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentService` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |     document_service: DocumentService,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::service::DocumentService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_current_project_path` in this scope
[INFO] [stdout]     --> src/modules/document_control/approval.rs:115:28
[INFO] [stdout]      |
[INFO] [stdout]  115 |         let project_path = get_current_project_path()?;
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: function `crate::commands::risk::get_current_project_path` exists but is inaccessible
[INFO] [stdout]     --> src/commands/risk.rs:1833:1
[INFO] [stdout]      |
[INFO] [stdout] 1833 | fn get_current_project_path() -> QmsResult<std::path::PathBuf> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    4 + use crate::utils::get_current_project_path;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentService` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:116:32
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let document_service = DocumentService::new(project_path.clone());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `DocumentService`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::service::DocumentService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let content = fs::read_to_string(&workflow_file)
[INFO] [stdout]     |                       ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |             fs::create_dir_all(parent)
[INFO] [stdout]     |             ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:371:24
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut file = fs::OpenOptions::new()
[INFO] [stdout]     |                        ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `OpenOptions`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 371 -         let mut file = fs::OpenOptions::new()
[INFO] [stdout] 371 +         let mut file = OpenOptions::new()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:481:24
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut file = fs::OpenOptions::new()
[INFO] [stdout]     |                        ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `OpenOptions`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 481 -         let mut file = fs::OpenOptions::new()
[INFO] [stdout] 481 +         let mut file = OpenOptions::new()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:494:71
[INFO] [stdout]     |
[INFO] [stdout] 494 |     fn update_document_status_direct(&self, doc_id: &str, new_status: DocumentStatus) -> QmsResult<()> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/document_control/export.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |         crate::audit::log_audit(&format!(
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/fmea.rs:245:23
[INFO] [stdout]     |
[INFO] [stdout] 245 | ...   crate::audit::log_audit(&format!("FMEA_CREATED: {id}: Created FMEA analysis for component: {component}, function: {function}"));
[INFO] [stdout]     |                     ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/fmea.rs:306:23
[INFO] [stdout]     |
[INFO] [stdout] 306 |         crate::audit::log_audit(&format!("FAILURE_MODE_ADDED: {id}: Added failure mode {mode_id} to FMEA {fmea_id}"));
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/iso14971.rs:772:23
[INFO] [stdout]     |
[INFO] [stdout] 772 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:296:23
[INFO] [stdout]     |
[INFO] [stdout] 296 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:689:23
[INFO] [stdout]     |
[INFO] [stdout] 689 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:731:23
[INFO] [stdout]     |
[INFO] [stdout] 731 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:837:23
[INFO] [stdout]     |
[INFO] [stdout] 837 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:911:27
[INFO] [stdout]     |
[INFO] [stdout] 911 |             crate::audit::log_audit(&format!(
[INFO] [stdout]     |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:947:27
[INFO] [stdout]     |
[INFO] [stdout] 947 |             crate::audit::log_audit(&format!(
[INFO] [stdout]     |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:984:23
[INFO] [stdout]     |
[INFO] [stdout] 984 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/modules/risk_manager/risk.rs:1036:23
[INFO] [stdout]      |
[INFO] [stdout] 1036 |         crate::audit::log_audit(&format!(
[INFO] [stdout]      |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/modules/risk_manager/risk.rs:1075:23
[INFO] [stdout]      |
[INFO] [stdout] 1075 |         crate::audit::log_audit(&format!(
[INFO] [stdout]      |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/risk_manager/repository.rs:96:23
[INFO] [stdout]    |
[INFO] [stdout] 96 |         crate::audit::log_audit(&format!(
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/repository.rs:131:23
[INFO] [stdout]     |
[INFO] [stdout] 131 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/repository.rs:176:23
[INFO] [stdout]     |
[INFO] [stdout] 176 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:157:23
[INFO] [stdout]     |
[INFO] [stdout] 157 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/risk_manager/template_registry.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 crate::audit::log_audit(&format!(
[INFO] [stdout]    |                               ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PasswordAuthenticationStrategy<S: UserStorage> {
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<S: UserStorage> PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserAuthenticator` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<S: UserStorage> UserAuthenticator for PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserAuthenticator;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<S: UserStorage> UserAuthenticator for PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:45:73
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn authenticate(&self, username: &str, password: &str) -> QmsResult<AuthenticationResult> {
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Ok(AuthenticationResult {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 |             return Ok(AuthenticationResult {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let session = UserSession {
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |             session_id: UserSession::generate_session_id(),
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type `UserSession`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |             csrf_token: UserSession::generate_csrf_token(),
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type `UserSession`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Ok(AuthenticationResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/strategies/password_auth_strategy.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl<S: UserStorage> PasswordAuthenticationStrategy<S> {
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UnifiedAuthenticationService<U: UserStorage, S: SessionStorage> {
[INFO] [stdout]    |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UnifiedAuthenticationService<U: UserStorage, S: SessionStorage> {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     session_storage: Arc<Mutex<S>>,
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     session_storage: Arc<Mutex<S>>,
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<U: UserStorage, S: SessionStorage> UnifiedAuthenticationService<U, S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<U: UserStorage, S: SessionStorage> UnifiedAuthenticationService<U, S> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let _ = audit_log_action("LOGIN_FAILED", "User", username);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let _ = audit_log_action("LOGIN_SUCCESS", "User", username);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let _ = audit_log_action(
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let _ = audit_log_action("SESSION_CREATED", "Authentication",
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let _ = audit_log_action("LOGOUT", "User", &username);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = audit_log_action("SESSION_TERMINATED", "Session", session_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:222:21
[INFO] [stdout]     |
[INFO] [stdout] 222 |             let _ = audit_log_action(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Role` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:233:74
[INFO] [stdout]     |
[INFO] [stdout] 233 |     pub fn create_user(&self, username: &str, password: &str, roles: Vec<Role>) -> QmsResult<User> {
[INFO] [stdout]     |                                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Role;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let _ = audit_log_action("USER_CREATED", "User", username);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:173:21
[INFO] [stdout]     |
[INFO] [stdout] 173 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Role` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:289:44
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn extract_permissions(&self, roles: &[Role]) -> Vec<String> {
[INFO] [stdout]     |                                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Role;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     Permission::ReadDocuments => "read_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     Permission::WriteDocuments => "write_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:196:21
[INFO] [stdout]     |
[INFO] [stdout] 196 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     Permission::DeleteDocuments => "delete_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:298:21
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     Permission::ReadRisks => "read_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in this scope
[INFO] [stdout]    --> src/audit.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |         timestamp = current_timestamp(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: these functions exist but are inaccessible
[INFO] [stdout]    --> src/modules/audit_logger/performance.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::audit_logger::performance::current_timestamp`: not accessible
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/modules/document_control/regulatory.rs:433:1
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn current_timestamp() -> u64 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::modules::document_control::regulatory::current_timestamp`: not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   6 + use crate::utils::current_timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     Permission::WriteRisks => "write_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     Permission::DeleteRisks => "delete_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:301:21
[INFO] [stdout]     |
[INFO] [stdout] 301 |                     Permission::ReadTrace => "read_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3051:27
[INFO] [stdout]      |
[INFO] [stdout] 3051 | ...   crate::audit::log_audit(&format!("REGULATORY_MAPPING: Document {doc_id} mapped to {requirement_id} with compliance level {co...
[INFO] [stdout]      |                     ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:302:21
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     Permission::WriteTrace => "write_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     Permission::DeleteTrace => "delete_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3168:27
[INFO] [stdout]      |
[INFO] [stdout] 3168 |             crate::audit::log_audit(&format!("REGULATORY_VERIFICATION: Mapping {doc_id} -> {requirement_id} verified"));
[INFO] [stdout]      |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:304:21
[INFO] [stdout]     |
[INFO] [stdout] 304 |                     Permission::ReadAudit => "read_audit",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:305:21
[INFO] [stdout]     |
[INFO] [stdout] 305 |                     Permission::ExportAudit => "export_audit",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3220:19
[INFO] [stdout]      |
[INFO] [stdout] 3220 |     crate::audit::log_audit(&format!("REGULATORY_REMOVAL: Mapping {doc_id} -> {requirement_id} removed"));
[INFO] [stdout]      |                   ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:306:21
[INFO] [stdout]     |
[INFO] [stdout] 306 |                     Permission::ManageUsers => "manage_users",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/commands/doc.rs:3319:31
[INFO] [stdout]      |
[INFO] [stdout] 3319 |                 crate::audit::log_audit(&format!("COMPLIANCE_REPORT: Generated to {file_path}"));
[INFO] [stdout]      |                               ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 |                     Permission::GenerateReports => "generate_reports",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:308:21
[INFO] [stdout]     |
[INFO] [stdout] 308 |                     Permission::UserManagement => "user_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/audit_logger/signatures.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub requirements: HashMap<String, SignaturePolicy>,
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:309:21
[INFO] [stdout]     |
[INFO] [stdout] 309 |                     Permission::ProjectManagement => "project_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:310:21
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     Permission::DocumentManagement => "document_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/modules/audit_logger/signatures.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |     project_path: PathBuf,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     Permission::RiskManagement => "risk_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:312:21
[INFO] [stdout]     |
[INFO] [stdout] 312 |                     Permission::AuditAccess => "audit_access",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:313:21
[INFO] [stdout]     |
[INFO] [stdout] 313 |                     Permission::SystemConfiguration => "system_configuration",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `JsonSerializable` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:104:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl JsonSerializable for ElectronicSignature {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonSerializable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 | impl<U: UserStorage + Clone, S: SessionStorage + Clone> Clone for UnifiedAuthenticationService<U, S> {
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:327:33
[INFO] [stdout]     |
[INFO] [stdout] 327 | impl<U: UserStorage + Clone, S: SessionStorage + Clone> Clone for UnifiedAuthenticationService<U, S> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:332:30
[INFO] [stdout]     |
[INFO] [stdout] 332 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]     |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:121:46
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn from_json(json: &str) -> Result<Self, JsonError> {
[INFO] [stdout]     |                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:332:39
[INFO] [stdout]     |
[INFO] [stdout] 332 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]     |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:23:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |     active_sessions: Arc<Mutex<HashMap<String, UserSession>>>,
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:122:22
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let parsed = JsonValue::parse(json)?;
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |             active_sessions: Arc::new(Mutex::new(HashMap::new())),
[INFO] [stdout]    |                                                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FileUserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type FileAuthManager = AuthManager<FileUserStorage>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named trait `UserStorage` defined here
[INFO] [stdout]   --> src/modules/user_manager/interfaces/mod.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait UserStorage {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 - pub type FileAuthManager = AuthManager<FileUserStorage>;
[INFO] [stdout] 53 + pub type FileAuthManager = AuthManager<UserStorage>;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::FileUserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:59:45
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_project_path(project_path: &Path) -> QmsResult<Self> {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 124 |         if let JsonValue::Object(obj) = parsed {
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FileUserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let storage = FileUserStorage::new(project_path)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ use of undeclared type `FileUserStorage`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 60 -         let storage = FileUserStorage::new(project_path)?;
[INFO] [stdout] 60 +         let storage = UserStorage::new(project_path)?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::FileUserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/web/project_api.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |         crate::audit::log_audit(&format!("PROJECT_DELETED: {} (ID: {})", project.name, project.id));
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]    --> src/modules/user_manager/strategies/password_auth_strategy.rs:6:29
[INFO] [stdout]     |
[INFO] [stdout]   6 |     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout]     |                             ^^^^ private struct import
[INFO] [stdout]     |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]    --> src/modules/user_manager/interfaces/mod.rs:5:21
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::models::{User, Role, Permission};
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]    --> src/models/mod.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:5:61
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::modules::user_manager::interfaces::{UserSession, User, UserRole, SessionType};
[INFO] [stdout]     |                                                             ^^^^ private struct import
[INFO] [stdout]     |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]    --> src/modules/user_manager/interfaces/mod.rs:5:21
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::models::{User, Role, Permission};
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]    --> src/models/mod.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:47
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::HashMap;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/tui/terminal.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | /             unsafe {
[INFO] [stdout] 60 | |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout] 61 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:11
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:63
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/tui/app.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 | /             unsafe {
[INFO] [stdout] 305 | |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout] 306 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:125:106
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let extract_string_field = |obj: &HashMap<String, JsonValue>, field: &str| -> Result<String, JsonError> {
[INFO] [stdout]     |                                                                                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonValue` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:127:26
[INFO] [stdout]     |
[INFO] [stdout] 127 |                     Some(JsonValue::String(s)) => Ok(s.clone()),
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type `JsonValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::services::data_access_service::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::web::JsonValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:128:36
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     Some(_) => Err(JsonError::InvalidFormat(format!("Field '{field}' is not a string"))),
[INFO] [stdout]     |                                    ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:129:33
[INFO] [stdout]     |
[INFO] [stdout] 129 |                     None => Err(JsonError::InvalidFormat(format!("Missing required field '{field}'"))),
[INFO] [stdout]     |                                 ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsonError` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:153:17
[INFO] [stdout]     |
[INFO] [stdout] 153 |             Err(JsonError::InvalidFormat("Expected JSON object".to_string()))
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `JsonError`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::json_utils::JsonError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:160:32
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let mut requirements = HashMap::new();
[INFO] [stdout]     |                                ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::HashMap;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]    --> src/modules/audit_logger/signatures.rs:200:30
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub fn new(project_path: PathBuf) -> Self {
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub const fn from_document_status(status: &DocumentStatus) -> Self {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             DocumentStatus::Draft => WorkflowState::Draft,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             DocumentStatus::InReview => WorkflowState::InReview,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             DocumentStatus::Approved => WorkflowState::Approved,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             DocumentStatus::Deprecated => WorkflowState::Archived,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             DocumentStatus::Archived => WorkflowState::Archived,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:46:47
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const fn to_document_status(&self) -> DocumentStatus {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |             WorkflowState::Draft => DocumentStatus::Draft,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:49:50
[INFO] [stdout]    |
[INFO] [stdout] 49 |             WorkflowState::SubmittedForReview => DocumentStatus::InReview,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |             WorkflowState::InReview => DocumentStatus::InReview,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 |             WorkflowState::ApprovalPending => DocumentStatus::InReview,
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |             WorkflowState::Approved => DocumentStatus::Approved,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 |             WorkflowState::Rejected => DocumentStatus::Draft,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]   --> src/modules/document_control/approval.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |             WorkflowState::Archived => DocumentStatus::Archived,
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentService` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |     document_service: DocumentService,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::service::DocumentService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_current_project_path` in this scope
[INFO] [stdout]     --> src/modules/document_control/approval.rs:115:28
[INFO] [stdout]      |
[INFO] [stdout]  115 |         let project_path = get_current_project_path()?;
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] note: function `crate::commands::risk::get_current_project_path` exists but is inaccessible
[INFO] [stdout]     --> src/commands/risk.rs:1833:1
[INFO] [stdout]      |
[INFO] [stdout] 1833 | fn get_current_project_path() -> QmsResult<std::path::PathBuf> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]      |
[INFO] [stdout]    4 + use crate::utils::get_current_project_path;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentService` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:116:32
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let document_service = DocumentService::new(project_path.clone());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `DocumentService`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::service::DocumentService;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let content = fs::read_to_string(&workflow_file)
[INFO] [stdout]     |                       ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |             fs::create_dir_all(parent)
[INFO] [stdout]     |             ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::fs;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:371:24
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut file = fs::OpenOptions::new()
[INFO] [stdout]     |                        ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout]     = note: struct `crate::modules::audit_logger::integrity::tests::OpenOptions` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `OpenOptions`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 371 -         let mut file = fs::OpenOptions::new()
[INFO] [stdout] 371 +         let mut file = OpenOptions::new()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `fs` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:481:24
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut file = fs::OpenOptions::new()
[INFO] [stdout]     |                        ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout]     = note: struct `crate::modules::audit_logger::integrity::tests::OpenOptions` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::fs::OpenOptions;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `OpenOptions`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 481 -         let mut file = fs::OpenOptions::new()
[INFO] [stdout] 481 +         let mut file = OpenOptions::new()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:494:71
[INFO] [stdout]     |
[INFO] [stdout] 494 |     fn update_document_status_direct(&self, doc_id: &str, new_status: DocumentStatus) -> QmsResult<()> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:549:57
[INFO] [stdout]     |
[INFO] [stdout] 549 |         assert_eq!(WorkflowState::from_document_status(&DocumentStatus::Draft), WorkflowState::Draft);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:550:57
[INFO] [stdout]     |
[INFO] [stdout] 550 |         assert_eq!(WorkflowState::from_document_status(&DocumentStatus::InReview), WorkflowState::InReview);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:551:57
[INFO] [stdout]     |
[INFO] [stdout] 551 |         assert_eq!(WorkflowState::from_document_status(&DocumentStatus::Approved), WorkflowState::Approved);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:553:63
[INFO] [stdout]     |
[INFO] [stdout] 553 |         assert_eq!(WorkflowState::Draft.to_document_status(), DocumentStatus::Draft);
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:554:66
[INFO] [stdout]     |
[INFO] [stdout] 554 |         assert_eq!(WorkflowState::InReview.to_document_status(), DocumentStatus::InReview);
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DocumentStatus` in this scope
[INFO] [stdout]    --> src/modules/document_control/approval.rs:555:66
[INFO] [stdout]     |
[INFO] [stdout] 555 |         assert_eq!(WorkflowState::Approved.to_document_status(), DocumentStatus::Approved);
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^ use of undeclared type `DocumentStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::modules::document_control::document::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 516 +     use crate::prelude::DocumentStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/document_control/export.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |         crate::audit::log_audit(&format!(
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/fmea.rs:245:23
[INFO] [stdout]     |
[INFO] [stdout] 245 | ...   crate::audit::log_audit(&format!("FMEA_CREATED: {id}: Created FMEA analysis for component: {component}, function: {function}"));
[INFO] [stdout]     |                     ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/fmea.rs:306:23
[INFO] [stdout]     |
[INFO] [stdout] 306 |         crate::audit::log_audit(&format!("FAILURE_MODE_ADDED: {id}: Added failure mode {mode_id} to FMEA {fmea_id}"));
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/iso14971.rs:772:23
[INFO] [stdout]     |
[INFO] [stdout] 772 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:296:23
[INFO] [stdout]     |
[INFO] [stdout] 296 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:689:23
[INFO] [stdout]     |
[INFO] [stdout] 689 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:731:23
[INFO] [stdout]     |
[INFO] [stdout] 731 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:837:23
[INFO] [stdout]     |
[INFO] [stdout] 837 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:911:27
[INFO] [stdout]     |
[INFO] [stdout] 911 |             crate::audit::log_audit(&format!(
[INFO] [stdout]     |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:947:27
[INFO] [stdout]     |
[INFO] [stdout] 947 |             crate::audit::log_audit(&format!(
[INFO] [stdout]     |                           ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/risk.rs:984:23
[INFO] [stdout]     |
[INFO] [stdout] 984 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/modules/risk_manager/risk.rs:1036:23
[INFO] [stdout]      |
[INFO] [stdout] 1036 |         crate::audit::log_audit(&format!(
[INFO] [stdout]      |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]     --> src/modules/risk_manager/risk.rs:1075:23
[INFO] [stdout]      |
[INFO] [stdout] 1075 |         crate::audit::log_audit(&format!(
[INFO] [stdout]      |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/risk_manager/repository.rs:96:23
[INFO] [stdout]    |
[INFO] [stdout] 96 |         crate::audit::log_audit(&format!(
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/repository.rs:131:23
[INFO] [stdout]     |
[INFO] [stdout] 131 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/repository.rs:176:23
[INFO] [stdout]     |
[INFO] [stdout] 176 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:157:23
[INFO] [stdout]     |
[INFO] [stdout] 157 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]    --> src/modules/risk_manager/business_logic.rs:214:23
[INFO] [stdout]     |
[INFO] [stdout] 214 |         crate::audit::log_audit(&format!(
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/modules/risk_manager/template_registry.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 crate::audit::log_audit(&format!(
[INFO] [stdout]    |                               ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PasswordAuthenticationStrategy<S: UserStorage> {
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl<S: UserStorage> PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserAuthenticator` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<S: UserStorage> UserAuthenticator for PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserAuthenticator;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]   --> src/tui/terminal.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]    |                 ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]   --> src/tui/terminal.rs:60:30
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]    |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                 ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:30
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:58
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                                                          ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:71
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                                                                       ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0405, E0422, E0425, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<S: UserStorage> UserAuthenticator for PasswordAuthenticationStrategy<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:45:73
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn authenticate(&self, username: &str, password: &str) -> QmsResult<AuthenticationResult> {
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qms` (lib) due to 146 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Ok(AuthenticationResult {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 |             return Ok(AuthenticationResult {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let session = UserSession {
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |             session_id: UserSession::generate_session_id(),
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type `UserSession`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserSession` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 85 |             csrf_token: UserSession::generate_csrf_token(),
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type `UserSession`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::auth::UserSession;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::UserSession;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AuthenticationResult` in this scope
[INFO] [stdout]   --> src/modules/user_manager/strategies/password_auth_strategy.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Ok(AuthenticationResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::interfaces::AuthenticationResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/strategies/password_auth_strategy.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl<S: UserStorage> PasswordAuthenticationStrategy<S> {
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/strategies/password_auth_strategy.rs:202:10
[INFO] [stdout]     |
[INFO] [stdout] 202 |     impl UserStorage for MockUserStorage {
[INFO] [stdout]     |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 169 +     use crate::modules::user_manager::UserStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UnifiedAuthenticationService<U: UserStorage, S: SessionStorage> {
[INFO] [stdout]    |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UnifiedAuthenticationService<U: UserStorage, S: SessionStorage> {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     session_storage: Arc<Mutex<S>>,
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::unified_session_adapter::tests::Arc` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |     session_storage: Arc<Mutex<S>>,
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::server::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<U: UserStorage, S: SessionStorage> UnifiedAuthenticationService<U, S> {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<U: UserStorage, S: SessionStorage> UnifiedAuthenticationService<U, S> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::unified_session_adapter::tests::Arc` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::server::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::unified_session_adapter::tests::Arc` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]    |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: struct `crate::web::server::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let _ = audit_log_action("LOGIN_FAILED", "User", username);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let _ = audit_log_action("LOGIN_SUCCESS", "User", username);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]   --> src/modules/user_manager/unified_auth_service.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let _ = audit_log_action(
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let _ = audit_log_action("SESSION_CREATED", "Authentication",
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let _ = audit_log_action("LOGOUT", "User", &username);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = audit_log_action("SESSION_TERMINATED", "Session", session_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:222:21
[INFO] [stdout]     |
[INFO] [stdout] 222 |             let _ = audit_log_action(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Role` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:233:74
[INFO] [stdout]     |
[INFO] [stdout] 233 |     pub fn create_user(&self, username: &str, password: &str, roles: Vec<Role>) -> QmsResult<User> {
[INFO] [stdout]     |                                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Role;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `audit_log_action` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let _ = audit_log_action("USER_CREATED", "User", username);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::audit_logger::audit_log_action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Role` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:289:44
[INFO] [stdout]     |
[INFO] [stdout] 289 |     fn extract_permissions(&self, roles: &[Role]) -> Vec<String> {
[INFO] [stdout]     |                                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Role;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                     Permission::ReadDocuments => "read_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:296:21
[INFO] [stdout]     |
[INFO] [stdout] 296 |                     Permission::WriteDocuments => "write_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     Permission::DeleteDocuments => "delete_documents",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:298:21
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     Permission::ReadRisks => "read_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     Permission::WriteRisks => "write_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     Permission::DeleteRisks => "delete_risks",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:301:21
[INFO] [stdout]     |
[INFO] [stdout] 301 |                     Permission::ReadTrace => "read_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:302:21
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     Permission::WriteTrace => "write_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     Permission::DeleteTrace => "delete_trace",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:304:21
[INFO] [stdout]     |
[INFO] [stdout] 304 |                     Permission::ReadAudit => "read_audit",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:305:21
[INFO] [stdout]     |
[INFO] [stdout] 305 |                     Permission::ExportAudit => "export_audit",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:306:21
[INFO] [stdout]     |
[INFO] [stdout] 306 |                     Permission::ManageUsers => "manage_users",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 |                     Permission::GenerateReports => "generate_reports",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:308:21
[INFO] [stdout]     |
[INFO] [stdout] 308 |                     Permission::UserManagement => "user_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:309:21
[INFO] [stdout]     |
[INFO] [stdout] 309 |                     Permission::ProjectManagement => "project_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:310:21
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     Permission::DocumentManagement => "document_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     Permission::RiskManagement => "risk_management",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:312:21
[INFO] [stdout]     |
[INFO] [stdout] 312 |                     Permission::AuditAccess => "audit_access",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Permission` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:313:21
[INFO] [stdout]     |
[INFO] [stdout] 313 |                     Permission::SystemConfiguration => "system_configuration",
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared type `Permission`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::Permission;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::prelude::Permission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `UserStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 | impl<U: UserStorage + Clone, S: SessionStorage + Clone> Clone for UnifiedAuthenticationService<U, S> {
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::UserStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SessionStorage` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:327:33
[INFO] [stdout]     |
[INFO] [stdout] 327 | impl<U: UserStorage + Clone, S: SessionStorage + Clone> Clone for UnifiedAuthenticationService<U, S> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::modules::user_manager::SessionStorage;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:332:30
[INFO] [stdout]     |
[INFO] [stdout] 332 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]     |                              ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::web::unified_session_adapter::tests::Arc` exists but is inaccessible
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:332:39
[INFO] [stdout]     |
[INFO] [stdout] 332 |             session_storage: Arc::new(Mutex::new(session_storage)),
[INFO] [stdout]     |                                       ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `crate::web::server::tests::Mutex` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::Mutex;
[INFO] [stdout]     |
[INFO] [stdout]   4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:23:32
[INFO] [stdout]    |
[INFO] [stdout] 23 |     active_sessions: Arc<Mutex<HashMap<String, UserSession>>>,
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |             active_sessions: Arc::new(Mutex::new(HashMap::new())),
[INFO] [stdout]    |                                                  ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::HashMap;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FileUserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:53:40
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub type FileAuthManager = AuthManager<FileUserStorage>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named trait `UserStorage` defined here
[INFO] [stdout]   --> src/modules/user_manager/interfaces/mod.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait UserStorage {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 - pub type FileAuthManager = AuthManager<FileUserStorage>;
[INFO] [stdout] 53 + pub type FileAuthManager = AuthManager<UserStorage>;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::FileUserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:59:45
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn from_project_path(project_path: &Path) -> QmsResult<Self> {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::prelude::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FileUserStorage` in this scope
[INFO] [stdout]   --> src/modules/user_manager/auth.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let storage = FileUserStorage::new(project_path)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ use of undeclared type `FileUserStorage`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 60 -         let storage = FileUserStorage::new(project_path)?;
[INFO] [stdout] 60 +         let storage = UserStorage::new(project_path)?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::modules::user_manager::FileUserStorage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in module `crate::audit`
[INFO] [stdout]   --> src/web/project_api.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |         crate::audit::log_audit(&format!("PROJECT_DELETED: {} (ID: {})", project.name, project.id));
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `crate::audit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:191:50
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert!(admin_role.permissions.contains(&Permission::ManageUsers));
[INFO] [stdout]     |                                                  ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:201:50
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert!(admin_role.permissions.contains(&Permission::ManageUsers));
[INFO] [stdout]     |                                                  ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:202:50
[INFO] [stdout]     |
[INFO] [stdout] 202 |         assert!(admin_role.permissions.contains(&Permission::DeleteDocuments));
[INFO] [stdout]     |                                                  ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:206:47
[INFO] [stdout]     |
[INFO] [stdout] 206 |         assert!(qe_role.permissions.contains(&Permission::ReadDocuments));
[INFO] [stdout]     |                                               ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:207:47
[INFO] [stdout]     |
[INFO] [stdout] 207 |         assert!(qe_role.permissions.contains(&Permission::WriteDocuments));
[INFO] [stdout]     |                                               ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `Permission` is ambiguous
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:208:48
[INFO] [stdout]     |
[INFO] [stdout] 208 |         assert!(!qe_role.permissions.contains(&Permission::ManageUsers));
[INFO] [stdout]     |                                                ^^^^^^^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `Permission` could refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     use crate::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] note: `Permission` could also refer to the enum imported here
[INFO] [stdout]    --> src/modules/user_manager/mod.rs:61:9
[INFO] [stdout]     |
[INFO] [stdout]  61 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `Permission` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]    --> src/modules/user_manager/strategies/password_auth_strategy.rs:6:29
[INFO] [stdout]     |
[INFO] [stdout]   6 |     AuthenticationStrategy, User, UserRole, AuthenticationContext
[INFO] [stdout]     |                             ^^^^ private struct import
[INFO] [stdout]     |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]    --> src/modules/user_manager/interfaces/mod.rs:5:21
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::models::{User, Role, Permission};
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]    --> src/models/mod.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct import `User` is private
[INFO] [stdout]    --> src/modules/user_manager/unified_auth_service.rs:5:61
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::modules::user_manager::interfaces::{UserSession, User, UserRole, SessionType};
[INFO] [stdout]     |                                                             ^^^^ private struct import
[INFO] [stdout]     |
[INFO] [stdout] note: the struct import `User` is defined here...
[INFO] [stdout]    --> src/modules/user_manager/interfaces/mod.rs:5:21
[INFO] [stdout]     |
[INFO] [stdout]   5 | use crate::models::{User, Role, Permission};
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] note: ...and refers to the struct `User` which is defined here
[INFO] [stdout]    --> src/models/mod.rs:198:1
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ you could import this directly
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/tui/terminal.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | /             unsafe {
[INFO] [stdout] 60 | |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout] 61 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:11
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![forbid(unsafe_code)]
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/tui/app.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 | /             unsafe {
[INFO] [stdout] 305 | |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout] 306 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]   --> src/tui/terminal.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]    |                 ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]   --> src/tui/terminal.rs:60:30
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]    |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                 ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:30
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                              ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:58
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                                                          ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libc` in this scope
[INFO] [stdout]    --> src/tui/app.rs:305:71
[INFO] [stdout]     |
[INFO] [stdout] 305 |                 libc::isatty(libc::STDIN_FILENO) != 0 && libc::isatty(libc::STDOUT_FILENO) != 0
[INFO] [stdout]     |                                                                       ^^^^ use of unresolved module or unlinked crate `libc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libc`, use `cargo add libc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `log_audit` in this scope
[INFO] [stdout]    --> src/audit.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |         log_audit("TEST_AUDIT");
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0405, E0422, E0425, E0432, E0433, E0603, E0659.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qms` (lib test) due to 160 previous errors
[INFO] running `Command { std: "docker" "inspect" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712", kill_on_drop: false }`
[INFO] [stdout] 67a7cd7fe1e01674bd5fc3b8d7defdec789b004d58fa3f3b13a42c0318632712
