Skip to content

Fix pool waiters management #935

Fix pool waiters management

Fix pool waiters management #935

Triggered via push April 2, 2024 12:49
Status Cancelled
Total duration 5m 33s
Artifacts

cov.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 9 warnings
coverage
The run was canceled by @fafhrd91.
coverage
The operation was canceled.
initializer for `thread_local` value can be made `const`: ntex-glommio/src/signals.rs#L4
warning: initializer for `thread_local` value can be made `const` --> ntex-glommio/src/signals.rs:4:34 | 4 | static SRUN: RefCell<bool> = RefCell::new(false); | ^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(false) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const = note: `#[warn(clippy::thread_local_initializer_can_be_made_const)]` on by default
this `RefCell` reference is held across an `await` point: ntex-glommio/src/io.rs#L514
warning: this `RefCell` reference is held across an `await` point --> ntex-glommio/src/io.rs:514:41 | 514 | ... io.0.borrow() | ^^^^^^^^^^^^^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> ntex-glommio/src/io.rs:516:46 | 516 | ... .await | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
this `RefCell` reference is held across an `await` point: ntex-glommio/src/io.rs#L206
warning: this `RefCell` reference is held across an `await` point --> ntex-glommio/src/io.rs:206:41 | 206 | ... io.0.borrow() | ^^^^^^^^^^^^^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> ntex-glommio/src/io.rs:208:46 | 208 | ... .await | ^^^^^ = 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
very complex type used. Consider factoring parts into `type` definitions: ntex-rt/src/lib.rs#L145
warning: very complex type used. Consider factoring parts into `type` definitions --> ntex-rt/src/lib.rs:145:13 | 145 | Either<task::JoinHandle<T>, Pin<Box<dyn Future<Output = Result<T, Canceled>>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
initializer for `thread_local` value can be made `const`: ntex-glommio/src/signals.rs#L4
warning: initializer for `thread_local` value can be made `const` --> ntex-glommio/src/signals.rs:4:34 | 4 | static SRUN: RefCell<bool> = RefCell::new(false); | ^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(false) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const = note: `#[warn(clippy::thread_local_initializer_can_be_made_const)]` on by default
this `RefCell` reference is held across an `await` point: ntex-glommio/src/io.rs#L514
warning: this `RefCell` reference is held across an `await` point --> ntex-glommio/src/io.rs:514:41 | 514 | ... io.0.borrow() | ^^^^^^^^^^^^^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> ntex-glommio/src/io.rs:516:46 | 516 | ... .await | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
this `RefCell` reference is held across an `await` point: ntex-glommio/src/io.rs#L206
warning: this `RefCell` reference is held across an `await` point --> ntex-glommio/src/io.rs:206:41 | 206 | ... io.0.borrow() | ^^^^^^^^^^^^^ | = help: ensure the reference is dropped before calling `await` note: these are all the `await` points this reference is held through --> ntex-glommio/src/io.rs:208:46 | 208 | ... .await | ^^^^^ = 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
very complex type used. Consider factoring parts into `type` definitions: ntex-rt/src/lib.rs#L145
warning: very complex type used. Consider factoring parts into `type` definitions --> ntex-rt/src/lib.rs:145:13 | 145 | Either<task::JoinHandle<T>, Pin<Box<dyn Future<Output = Result<T, Canceled>>>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
coverage
The `save-state` 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/