Skip to content

Update opentelemetry to 0.21.1 #590

Update opentelemetry to 0.21.1

Update opentelemetry to 0.21.1 #590

GitHub Actions / clippy succeeded Nov 16, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.74.0 (79e9716c9 2023-11-13)
  • cargo 1.74.0 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (79e9716 2023-11-13)

Annotations

Check warning on line 287 in casper-server/src/lua/http/request.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `RefCell` reference is held across an `await` point

warning: this `RefCell` reference is held across an `await` point
   --> casper-server/src/lua/http/request.rs:287:17
    |
287 |             let mut this = this.borrow_mut::<Self>()?;
    |                 ^^^^^^^^
    |
    = help: ensure the reference is dropped before calling `await`
note: these are all the `await` points this reference is held through
   --> casper-server/src/lua/http/request.rs:288:26
    |
288 |             this.clone().await
    |                          ^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref

Check warning on line 369 in casper-server/src/lua/http/body.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `RefCell` reference is held across an `await` point

warning: this `RefCell` reference is held across an `await` point
   --> casper-server/src/lua/http/body.rs:369:25
    |
369 |                     let mut this = ud.borrow_mut::<Self>()?;
    |                         ^^^^^^^^
    |
    = help: ensure the reference is dropped before calling `await`
note: these are all the `await` points this reference is held through
   --> casper-server/src/lua/http/body.rs:375:82
    |
375 | ...                   let bytes = match time::timeout(timeout, next_chunk).await {
    |                                                                            ^^^^^
...
386 | ...                   lua_try!(next_chunk.await.transpose())
    |                                           ^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
    = note: `#[warn(clippy::await_holding_refcell_ref)]` on by default