Skip to content

Slight optimization and docs #1725

Slight optimization and docs

Slight optimization and docs #1725

Triggered via push June 16, 2023 17:30
Status Success
Total duration 19m 49s
Artifacts

linux.yml

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

Annotations

30 errors and 54 warnings
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_httpserver`
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_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`
stable - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test web_server`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--lib`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_client`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_openssl_client`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_awc_rustls_client`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_client`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_openssl`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_server`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test http_ws_client`
1.65.0 - x86_64-unknown-linux-gnu
test failed, to rerun pass `--test web_httpserver`
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
nightly - x86_64-unknown-linux-gnu
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
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
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
nightly - x86_64-unknown-linux-gnu
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
nightly - x86_64-unknown-linux-gnu: ntex-io/src/testing.rs#L471
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu
`ntex-io` (lib) generated 1 warning (run `cargo fix --lib -p ntex-io` to apply 1 suggestion)
nightly - x86_64-unknown-linux-gnu: ntex-tokio/src/io.rs#L131
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu: ntex-tokio/src/io.rs#L526
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu: ntex-glommio/src/io.rs#L136
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu: ntex-glommio/src/io.rs#L444
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu
`ntex-tokio` (lib) generated 2 warnings (run `cargo fix --lib -p ntex-tokio` to apply 2 suggestions)
nightly - x86_64-unknown-linux-gnu: ntex-async-std/src/io.rs#L127
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu: ntex-async-std/src/io.rs#L435
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
nightly - x86_64-unknown-linux-gnu: ntex-io/src/testing.rs#L471
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu
`ntex-io` (lib) generated 1 warning (run `cargo fix --lib -p ntex-io` to apply 1 suggestion)
nightly - x86_64-unknown-linux-gnu: ntex-async-std/src/io.rs#L127
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu: ntex-async-std/src/io.rs#L435
variable does not need to be mutable
nightly - x86_64-unknown-linux-gnu
`ntex-async-std` (lib) generated 2 warnings (run `cargo fix --lib -p ntex-async-std` to apply 2 suggestions)
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)
stable - x86_64-unknown-linux-gnu
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
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` (lib test) generated 3 warnings (run `cargo fix --lib -p ntex --tests` to apply 3 suggestions)
stable - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L2
unused imports: `io`, `sync::Arc`
stable - x86_64-unknown-linux-gnu
`ntex` (test "server") generated 2 warnings (run `cargo fix --test "server"` to apply 2 suggestions)
1.65.0 - x86_64-unknown-linux-gnu
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
1.65.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.65.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.65.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.65.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.65.0 - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L100
unused imports: `Arc`, `atomic::AtomicUsize`, `atomic::Ordering`
1.65.0 - x86_64-unknown-linux-gnu: ntex/src/web/types/state.rs#L102
unused import: `super::*`
1.65.0 - x86_64-unknown-linux-gnu
`ntex` (lib test) generated 3 warnings
1.65.0 - x86_64-unknown-linux-gnu: ntex/tests/server.rs#L2
unused imports: `io`, `sync::Arc`
1.65.0 - x86_64-unknown-linux-gnu
`ntex` (test "server") generated 2 warnings