wip #1941
Annotations
37 warnings
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
|
useless conversion to the same type: `ntex_util::time::Seconds`:
ntex/src/http/config.rs#L261
warning: useless conversion to the same type: `ntex_util::time::Seconds`
--> ntex/src/http/config.rs:261:32
|
261 | client_disconnect: cfg.client_disconnect.into(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `cfg.client_disconnect`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
using `clone` on type `Option<ReadRate>` which implements the `Copy` trait:
ntex/src/http/config.rs#L121
warning: using `clone` on type `Option<ReadRate>` which implements the `Copy` trait
--> ntex/src/http/config.rs:121:28
|
121 | let mut rate = self.headers_read_rate.clone().unwrap_or_default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.headers_read_rate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
method `payload_read_rate` is never used:
ntex/src/http/config.rs#L279
warning: method `payload_read_rate` is never used
--> ntex/src/http/config.rs:279:19
|
247 | impl<S, X, U> DispatcherConfig<S, X, U> {
| --------------------------------------- method in this implementation
...
279 | pub(super) fn payload_read_rate(&self) -> Option<&ReadRate> {
| ^^^^^^^^^^^^^^^^^
|
field `payload_read_rate` is never read:
ntex/src/http/config.rs#L242
warning: field `payload_read_rate` is never read
--> ntex/src/http/config.rs:242:16
|
233 | pub(super) struct DispatcherConfig<S, X, U> {
| ---------------- field in this struct
...
242 | pub(super) payload_read_rate: Option<ReadRate>,
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method:
ntex/src/web/server.rs#L483
warning: use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method
--> ntex/src/web/server.rs:483:22
|
483 | .client_timeout(c.client_timeout)
| ^^^^^^^^^^^^^^
|
use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method:
ntex/src/web/server.rs#L450
warning: use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method
--> ntex/src/web/server.rs:450:18
|
450 | .client_timeout(c.client_timeout)
| ^^^^^^^^^^^^^^
|
use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method:
ntex/src/web/server.rs#L338
warning: use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method
--> ntex/src/web/server.rs:338:22
|
338 | .client_timeout(c.client_timeout)
| ^^^^^^^^^^^^^^
|
use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method:
ntex/src/web/server.rs#L293
warning: use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method
--> ntex/src/web/server.rs:293:26
|
293 | .client_timeout(c.client_timeout)
| ^^^^^^^^^^^^^^
|
use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method:
ntex/src/web/server.rs#L251
warning: use of deprecated method `http::builder::HttpServiceBuilder::<F, S, X, U>::client_timeout`: Use .headers_read_rate() method
--> ntex/src/web/server.rs:251:26
|
251 | .client_timeout(c.client_timeout)
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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
|
stable - x86_64-apple-darwin
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stable - x86_64-apple-darwin:
ntex/tests/http_ws.rs#L54
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
stable - x86_64-apple-darwin
`ntex` (test "http_ws") generated 1 warning
|
stable - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L93
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
stable - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L122
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
stable - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
|
stable - x86_64-apple-darwin
`ntex` (test "http_ws_client") generated 4 warnings
|
stable - x86_64-apple-darwin
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/
|
stable - x86_64-apple-darwin
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/
|
stable - x86_64-apple-darwin
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/
|
stable - x86_64-apple-darwin
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/
|
nightly - x86_64-apple-darwin
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
nightly - x86_64-apple-darwin
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/
|
nightly - x86_64-apple-darwin
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/
|
nightly - x86_64-apple-darwin
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/
|
nightly - x86_64-apple-darwin
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/
|
nightly - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L43
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
nightly - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L93
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
nightly - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L122
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
|
nightly - x86_64-apple-darwin:
ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
|
nightly - x86_64-apple-darwin
`ntex` (test "http_ws_client") generated 4 warnings
|
nightly - x86_64-apple-darwin
`ntex` (test "http_ws") generated 1 warning
|