This repository has been archived by the owner on May 23, 2023. It is now read-only.
fix(deps): update rust crate sentry-tracing to 0.31.2 #586
Annotations
14 warnings
unneeded `return` statement:
server/src/routes/instances.rs#L109
warning: unneeded `return` statement
--> server/src/routes/instances.rs:109:5
|
109 | / return match endpoint_manager.get_endpoint(id.clone()).await {
110 | | Err(_) => empty_response(Some(Status::NotFound)),
111 | | Ok(mut e) => {
112 | | let keys = endpoint_manager.get_keys(e.clone().instance_name).unwrap();
... |
143 | | }
144 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
|
unneeded `return` statement:
server/src/endpoints/endpoint_manager.rs#L123
warning: unneeded `return` statement
--> server/src/endpoints/endpoint_manager.rs:123:9
|
123 | / return match self.redis.lock().await.get_master().await {
124 | | Ok(mut client) => {
125 | | e.api_token = Some(key);
126 | | return Ok(
... |
140 | | Err(e) => Err(anyhow::Error::from(e)),
141 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
|
unneeded `return` statement:
server/src/endpoints/endpoint_manager.rs#L102
warning: unneeded `return` statement
--> server/src/endpoints/endpoint_manager.rs:102:9
|
102 | / return match self.redis.lock().await.get_master().await {
103 | | Ok(mut client) => {
104 | | self.keys.remove(&name);
105 | | client.hdel::<&str, String, i32>("endpoints", name)
106 | | }
107 | | Err(e) => Err(e),
108 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
|
unneeded `return` statement:
server/src/endpoints/endpoint_manager.rs#L67
warning: unneeded `return` statement
--> server/src/endpoints/endpoint_manager.rs:67:9
|
67 | / return match self.redis.lock().await.get_master().await {
68 | | Ok(mut client) => {
69 | | let r = client.hset::<&str, String, Endpoint, i32>(
70 | | "endpoints",
... |
97 | | Err(e) => Err(e),
98 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
|
unneeded `return` statement:
server/src/endpoints/endpoint_manager.rs#L42
warning: unneeded `return` statement
--> server/src/endpoints/endpoint_manager.rs:42:9
|
42 | / return match self.redis.lock().await.get_master().await {
43 | | Ok(mut client) => {
44 | | return match client.hget::<&str, String, Endpoint>("endpoints", name) {
45 | | Ok(r) => Ok(r),
... |
49 | | Err(e) => Err(anyhow::Error::from(e)),
50 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= help: remove `return`
|
unneeded `return` statement:
server/src/endpoints/endpoint.rs#L122
warning: unneeded `return` statement
--> server/src/endpoints/endpoint.rs:122:9
|
122 | / return match client {
123 | | Ok(mut c) => {
124 | | let ack_res = c.connection_ack(ConnectionAckRequest {}).await;
125 | | match ack_res {
... |
130 | | Err(e) => Err(anyhow!(e.to_string())),
131 | | };
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
= help: remove `return`
|
use of deprecated function `base64::decode`: Use Engine::decode:
server/src/routes/instances.rs#L113
warning: use of deprecated function `base64::decode`: Use Engine::decode
--> server/src/routes/instances.rs:113:27
|
113 | match base64::decode(body.api_token.clone()) {
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Lint CI
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Lint CI
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint CI
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint CI
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint CI
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint CI:
server/src/routes/instances.rs#L113
use of deprecated function `base64::decode`: Use Engine::decode
|
Lint CI
`analytics-server` (lib) generated 1 warning
|