Skip to content

FlashService: fixes #237

FlashService: fixes

FlashService: fixes #237

Triggered via push August 30, 2023 16:10
Status Failure
Total duration 3m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cargo_test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
this `RefCell` reference is held across an `await` point: bmcd/src/legacy.rs#L347
error: this `RefCell` reference is held across an `await` point --> bmcd/src/legacy.rs:347:17 | 347 | / request 348 | | .connection_info() | |______________________________________^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> bmcd/src/legacy.rs:345:9 | 345 | / (*flash_service) 346 | | .stream_chunk( 347 | | request 348 | | .connection_info() ... | 352 | | ) 353 | | .await?; | |____________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref = note: `-D clippy::await-holding-refcell-ref` implied by `-D warnings`
unused import: `TRANSFER_ENCODING`: bmcd/src/legacy.rs#L6
error: unused import: `TRANSFER_ENCODING` --> bmcd/src/legacy.rs:6:45 | 6 | use actix_web::http::header::{CONTENT_TYPE, TRANSFER_ENCODING}; | ^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
clippy_check
Clippy had exited with the 101 exit code
this `RefCell` reference is held across an `await` point: bmcd/src/legacy.rs#L347
error: this `RefCell` reference is held across an `await` point --> bmcd/src/legacy.rs:347:17 | 347 | / request 348 | | .connection_info() | |______________________________________^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> bmcd/src/legacy.rs:345:9 | 345 | / (*flash_service) 346 | | .stream_chunk( 347 | | request 348 | | .connection_info() ... | 352 | | ) 353 | | .await?; | |____________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref = note: `-D clippy::await-holding-refcell-ref` implied by `-D warnings`
unused import: `TRANSFER_ENCODING`: bmcd/src/legacy.rs#L6
error: unused import: `TRANSFER_ENCODING` --> bmcd/src/legacy.rs:6:45 | 6 | use actix_web::http::header::{CONTENT_TYPE, TRANSFER_ENCODING}; | ^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/