Lower the timeout values for the rust connection #267
Merged
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / bindings_swift
succeeded
Oct 10, 2023 in 0s
bindings_swift
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check warning on line 143 in src/lib.rs
github-actions / bindings_swift
unneeded `return` statement
warning: unneeded `return` statement
--> src/lib.rs:139:9
|
139 | / return Ok(QueryResponse {
140 | | envelopes: new_messages,
141 | | ..QueryResponse::default()
142 | | }
143 | | .encode_to_vec());
| |_________________________^
|
= 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`
|
139 ~ Ok(QueryResponse {
140 + envelopes: new_messages,
141 + ..QueryResponse::default()
142 + }
143 ~ .encode_to_vec())
|
Check warning on line 22 in /home/runner/work/libxmtp/libxmtp/xmtp_networking/src/grpc_api_helper.rs
github-actions / bindings_swift
use of deprecated method `tokio_rustls::rustls::RootCertStore::add_server_trust_anchors`: Please use `add_trust_anchors` instead
warning: use of deprecated method `tokio_rustls::rustls::RootCertStore::add_server_trust_anchors`: Please use `add_trust_anchors` instead
--> /home/runner/work/libxmtp/libxmtp/xmtp_networking/src/grpc_api_helper.rs:22:11
|
22 | roots.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Loading