Skip to content

Simplify read timeout impl #1911

Simplify read timeout impl

Simplify read timeout impl #1911

Triggered via push November 10, 2023 11:27
Status Success
Total duration 21m 27s
Artifacts

linux.yml

on: push
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 69 warnings
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--lib`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_client`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_openssl_client`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_rustls_client`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_client`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_openssl`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_server`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws_client`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test web_httpserver`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--lib`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_client`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_openssl_client`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_rustls_client`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_client`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_openssl`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_server`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws_client`
1.67.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test web_httpserver`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--lib`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_client`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_openssl_client`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_rustls_client`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_client`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_openssl`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_server`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws_client`
nightly - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test web_server`
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:513:67 | 513 | ... let fut = Box::pin(async move { | _____________________________________________________^ 514 | | ... io.0.borrow() 515 | | ... .shutdown(std::net::Shutdown::Write) 516 | | ... .await 517 | | ... }); | |_______________________^ = 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:205:67 | 205 | ... let fut = Box::pin(async move { | _____________________________________________________^ 206 | | ... io.0.borrow() 207 | | ... .shutdown(std::net::Shutdown::Write) 208 | | ... .await 209 | | ... }); | |_______________________^ = 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
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:513:67 | 513 | ... let fut = Box::pin(async move { | _____________________________________________________^ 514 | | ... io.0.borrow() 515 | | ... .shutdown(std::net::Shutdown::Write) 516 | | ... .await 517 | | ... }); | |_______________________^ = 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:205:67 | 205 | ... let fut = Box::pin(async move { | _____________________________________________________^ 206 | | ... io.0.borrow() 207 | | ... .shutdown(std::net::Shutdown::Write) 208 | | ... .await 209 | | ... }); | |_______________________^ = 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-unknown-linux-gnu
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-unknown-linux-gnu: 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-unknown-linux-gnu
`ntex` (test "http_ws") generated 1 warning
stable - x86_64-unknown-linux-gnu: 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-unknown-linux-gnu: 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-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
stable - x86_64-unknown-linux-gnu
`ntex` (test "http_ws_client") generated 4 warnings
stable - x86_64-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu: ntex/src/web/types/state.rs#L100
unused imports: `Arc`, `atomic::AtomicUsize`, `atomic::Ordering`
stable - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L102
unused import: `super::*`
stable - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L1
unused imports: `AtomicUsize`, `Ordering::Relaxed`
stable - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L2
unused imports: `io`, `sync::Arc`
stable - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L43
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
stable - x86_64-unknown-linux-gnu: 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-unknown-linux-gnu: 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-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
stable - x86_64-unknown-linux-gnu
`ntex` (test "server") generated 2 warnings (run `cargo fix --test "server"` to apply 2 suggestions)
1.67.0 - x86_64-unknown-linux-gnu
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/
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L43
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L93
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L122
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws.rs#L54
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu
`ntex` (test "http_ws_client") generated 4 warnings
1.67.0 - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L100
unused imports: `Arc`, `atomic::AtomicUsize`, `atomic::Ordering`
1.67.0 - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L102
unused import: `super::*`
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws.rs#L54
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu
`ntex` (test "http_ws") generated 1 warning
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L2
unused imports: `io`, `sync::Arc`
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L43
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L93
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L122
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::new`: Use Dispatcher::with_config() method
1.67.0 - x86_64-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated associated function `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
1.67.0 - x86_64-unknown-linux-gnu
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/
1.67.0 - x86_64-unknown-linux-gnu
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/
1.67.0 - x86_64-unknown-linux-gnu
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/
1.67.0 - x86_64-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu
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-unknown-linux-gnu: 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-unknown-linux-gnu: 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-unknown-linux-gnu: 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-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
nightly - x86_64-unknown-linux-gnu
`ntex` (test "http_ws_client") generated 4 warnings
nightly - x86_64-unknown-linux-gnu
`ntex` (test "http_ws") generated 1 warning
nightly - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L100
unused imports: `Arc`, `atomic::AtomicUsize`, `atomic::Ordering`
nightly - x86_64-unknown-linux-gnu
`ntex` (lib test) generated 3 warnings (run `cargo fix --lib -p ntex --tests` to apply 3 suggestions)
nightly - x86_64-unknown-linux-gnu: 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-unknown-linux-gnu: 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-unknown-linux-gnu: ntex/tests/http_ws_client.rs#L123
use of deprecated method `ntex::io::Dispatcher::<S, U>::keepalive_timeout`: Use DispatcherConfig methods
nightly - x86_64-unknown-linux-gnu
`ntex` (test "http_ws_client") generated 4 warnings
nightly - x86_64-unknown-linux-gnu
`ntex` (test "http_ws") generated 1 warning
nightly - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L2
unused imports: `io`, `sync::Arc`