update rustls. #1514
Annotations
24 warnings
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
you should consider adding a `Default` implementation for `HttpServiceBuilder<
marker::Http,
net::Stream,
tls::NoOpTlsAcceptorBuilder,
DEFAULT_HEADER_LIMIT,
DEFAULT_READ_BUF_LIMIT,
DEFAULT_WRITE_BUF_LIMIT,
>`:
http/src/builder.rs#L54
warning: you should consider adding a `Default` implementation for `HttpServiceBuilder<
marker::Http,
net::Stream,
tls::NoOpTlsAcceptorBuilder,
DEFAULT_HEADER_LIMIT,
DEFAULT_READ_BUF_LIMIT,
DEFAULT_WRITE_BUF_LIMIT,
>`
--> http/src/builder.rs:54:5
|
54 | / pub const fn new() -> Self {
55 | | Self::with_config(HttpServiceConfig::new())
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
43 + impl Default for HttpServiceBuilder<
44 + marker::Http,
45 + net::Stream,
46 + tls::NoOpTlsAcceptorBuilder,
47 + DEFAULT_HEADER_LIMIT,
48 + DEFAULT_READ_BUF_LIMIT,
49 + DEFAULT_WRITE_BUF_LIMIT,
50 + > {
51 + fn default() -> Self {
52 + Self::new()
53 + }
54 + }
|
|
you should consider adding a `Default` implementation for `HttpServiceBuilder<
marker::Http,
net::Stream,
tls::NoOpTlsAcceptorBuilder,
DEFAULT_HEADER_LIMIT,
DEFAULT_READ_BUF_LIMIT,
DEFAULT_WRITE_BUF_LIMIT,
>`:
http/src/builder.rs#L54
warning: you should consider adding a `Default` implementation for `HttpServiceBuilder<
marker::Http,
net::Stream,
tls::NoOpTlsAcceptorBuilder,
DEFAULT_HEADER_LIMIT,
DEFAULT_READ_BUF_LIMIT,
DEFAULT_WRITE_BUF_LIMIT,
>`
--> http/src/builder.rs:54:5
|
54 | / pub const fn new() -> Self {
55 | | Self::with_config(HttpServiceConfig::new())
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
43 + impl Default for HttpServiceBuilder<
44 + marker::Http,
45 + net::Stream,
46 + tls::NoOpTlsAcceptorBuilder,
47 + DEFAULT_HEADER_LIMIT,
48 + DEFAULT_READ_BUF_LIMIT,
49 + DEFAULT_WRITE_BUF_LIMIT,
50 + > {
51 + fn default() -> Self {
52 + Self::new()
53 + }
54 + }
|
|
you should consider adding a `Default` implementation for `SmallBoxedStr`:
unsafe_collection/src/small_str.rs#L222
warning: you should consider adding a `Default` implementation for `SmallBoxedStr`
--> unsafe_collection/src/small_str.rs:222:5
|
222 | / pub const fn new() -> Self {
223 | | Self { inner: Inner::empty() }
224 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
220 + impl Default for SmallBoxedStr {
221 + fn default() -> Self {
222 + Self::new()
223 + }
224 + }
|
|
you should consider adding a `Default` implementation for `Group<S, E>`:
service/src/middleware/group.rs#L30
warning: you should consider adding a `Default` implementation for `Group<S, E>`
--> service/src/middleware/group.rs:30:5
|
30 | / pub const fn new() -> Self {
31 | | Self(PhantomData)
32 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
29 + impl<S, E> Default for Group<S, E> {
30 + fn default() -> Self {
31 + Self::new()
32 + }
33 + }
|
|
you should consider adding a `Default` implementation for `StackQueue<T, N>`:
unsafe_collection/src/bound_queue/stack.rs#L13
warning: you should consider adding a `Default` implementation for `StackQueue<T, N>`
--> unsafe_collection/src/bound_queue/stack.rs:13:5
|
13 | / pub const fn new() -> Self {
14 | | Self {
15 | | inner: Bounded {
16 | | queue: uninit::uninit_array(),
... |
20 | | }
21 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
11 + impl<T, const N: usize> Default for StackQueue<T, N> {
12 + fn default() -> Self {
13 + Self::new()
14 + }
15 + }
|
|
you should consider adding a `Default` implementation for `Codec`:
http-ws/src/codec.rs#L72
warning: you should consider adding a `Default` implementation for `Codec`
--> http-ws/src/codec.rs:72:5
|
72 | / pub const fn new() -> Codec {
73 | | Codec {
74 | | max_size: 65_536,
75 | | capacity: 128,
76 | | flags: Flags(Flags::SERVER),
77 | | }
78 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
70 + impl Default for Codec {
71 + fn default() -> Self {
72 + Self::new()
73 + }
74 + }
|
|
you should consider adding a `Default` implementation for `Router<T>`:
router/src/router.rs#L14
warning: you should consider adding a `Default` implementation for `Router<T>`
--> router/src/router.rs:14:5
|
14 | / pub const fn new() -> Self {
15 | | Self { root: Node::new() }
16 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
12 + impl<T> Default for Router<T> {
13 + fn default() -> Self {
14 + Self::new()
15 + }
16 + }
|
|
you should consider adding a `Default` implementation for `Codec`:
http-ws/src/codec.rs#L72
warning: you should consider adding a `Default` implementation for `Codec`
--> http-ws/src/codec.rs:72:5
|
72 | / pub const fn new() -> Codec {
73 | | Codec {
74 | | max_size: 65_536,
75 | | capacity: 128,
76 | | flags: Flags(Flags::SERVER),
77 | | }
78 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
70 + impl Default for Codec {
71 + fn default() -> Self {
72 + Self::new()
73 + }
74 + }
|
|
you should consider adding a `Default` implementation for `Router<T>`:
router/src/router.rs#L14
warning: you should consider adding a `Default` implementation for `Router<T>`
--> router/src/router.rs:14:5
|
14 | / pub const fn new() -> Self {
15 | | Self { root: Node::new() }
16 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
12 + impl<T> Default for Router<T> {
13 + fn default() -> Self {
14 + Self::new()
15 + }
16 + }
|
|
you should consider adding a `Default` implementation for `Group<S, E>`:
service/src/middleware/group.rs#L30
warning: you should consider adding a `Default` implementation for `Group<S, E>`
--> service/src/middleware/group.rs:30:5
|
30 | / pub const fn new() -> Self {
31 | | Self(PhantomData)
32 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
29 + impl<S, E> Default for Group<S, E> {
30 + fn default() -> Self {
31 + Self::new()
32 + }
33 + }
|
|
you should consider adding a `Default` implementation for `SmallBoxedStr`:
unsafe_collection/src/small_str.rs#L222
warning: you should consider adding a `Default` implementation for `SmallBoxedStr`
--> unsafe_collection/src/small_str.rs:222:5
|
222 | / pub const fn new() -> Self {
223 | | Self { inner: Inner::empty() }
224 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
220 + impl Default for SmallBoxedStr {
221 + fn default() -> Self {
222 + Self::new()
223 + }
224 + }
|
|
you should consider adding a `Default` implementation for `StackQueue<T, N>`:
unsafe_collection/src/bound_queue/stack.rs#L13
warning: you should consider adding a `Default` implementation for `StackQueue<T, N>`
--> unsafe_collection/src/bound_queue/stack.rs:13:5
|
13 | / pub const fn new() -> Self {
14 | | Self {
15 | | inner: Bounded {
16 | | queue: uninit::uninit_array(),
... |
20 | | }
21 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
11 + impl<T, const N: usize> Default for StackQueue<T, N> {
12 + fn default() -> Self {
13 + Self::new()
14 + }
15 + }
|
|
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|