Skip to content

Add GetUsers rpc to protobuff #200

Add GetUsers rpc to protobuff

Add GetUsers rpc to protobuff #200

Triggered via push December 5, 2023 13:28
Status Failure
Total duration 1m 21s
Artifacts

check_format.yml

on: push
cargo fmt
21s
cargo fmt
Clippy lint and check
1m 8s
Clippy lint and check
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
unresolved import `crate::api::ecdar_api::handle_session`: src/api/../tests/api/session_logic.rs#L2
error[E0432]: unresolved import `crate::api::ecdar_api::handle_session` --> src/api/../tests/api/session_logic.rs:2:35 | 2 | use crate::api::{auth::TokenType, ecdar_api::handle_session}; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `handle_session` in `api::ecdar_api`
Clippy lint and check
Clippy has exited with exit code 101
methods `as_str` and `token_type` are never used: src/api/auth.rs#L206
warning: methods `as_str` and `token_type` are never used --> src/api/auth.rs:206:12 | 84 | impl Token { | ---------- methods in this implementation ... 206 | pub fn as_str(&self) -> &str { | ^^^^^^ ... 220 | pub fn token_type(&self) -> TokenType { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
module has the same name as its containing module: src/api/server.rs#L12
warning: module has the same name as its containing module --> src/api/server.rs:12:1 | 12 | / pub mod server { 13 | | tonic::include_proto!("ecdar_proto_buf"); 14 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `#[warn(clippy::module_inception)]` on by default