Skip to content

fix(client): add Error::Closed for ws close #4251

fix(client): add Error::Closed for ws close

fix(client): add Error::Closed for ws close #4251

Triggered via pull request November 30, 2024 15:27
Status Success
Total duration 8m 43s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

58 warnings
Check rustdoc
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/
Check rustdoc
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/
Check rustdoc
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/
Check rustdoc
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/
the following explicit lifetimes could be elided: 'a: core/src/server/method_response.rs#L397
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/method_response.rs:397:6 | 397 | impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 397 - impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> 397 + impl<T> From<ErrorCode> for ResponsePayload<'_, T> |
the following explicit lifetimes could be elided: 'a: core/src/server/helpers.rs#L64
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/helpers.rs:64:6 | 64 | impl<'a> io::Write for &'a mut BoundedWriter { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 64 - impl<'a> io::Write for &'a mut BoundedWriter { 64 + impl io::Write for &mut BoundedWriter { |
the following explicit lifetimes could be elided: 'a: types/src/error.rs#L107
warning: the following explicit lifetimes could be elided: 'a --> types/src/error.rs:107:6 | 107 | impl<'a> From<ErrorCode> for ErrorObject<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 107 - impl<'a> From<ErrorCode> for ErrorObject<'a> { 107 + impl From<ErrorCode> for ErrorObject<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/error.rs#L99
warning: the following explicit lifetimes could be elided: 'a --> types/src/error.rs:99:6 | 99 | impl<'a> PartialEq for ErrorObject<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 99 - impl<'a> PartialEq for ErrorObject<'a> { 99 + impl PartialEq for ErrorObject<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L316
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:316:6 | 316 | impl<'a, T> Serialize for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 316 - impl<'a, T> Serialize for Response<'a, T> 316 + impl<T> Serialize for Response<'_, T> |
the following explicit lifetimes could be elided: 'de: types/src/response.rs#L208
warning: the following explicit lifetimes could be elided: 'de --> types/src/response.rs:208:10 | 208 | impl<'de> serde::de::Visitor<'de> for FieldVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 208 - impl<'de> serde::de::Visitor<'de> for FieldVisitor { 208 + impl serde::de::Visitor<'_> for FieldVisitor { |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L71
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:71:6 | 71 | impl<'a, T> fmt::Debug for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 71 - impl<'a, T> fmt::Debug for Response<'a, T> 71 + impl<T> fmt::Debug for Response<'_, T> |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L62
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:62:6 | 62 | impl<'a, T> fmt::Display for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 62 - impl<'a, T> fmt::Display for Response<'a, T> 62 + impl<T> fmt::Display for Response<'_, T> |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L399
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:399:6 | 399 | impl<'a> std::fmt::Display for Id<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 399 - impl<'a> std::fmt::Display for Id<'a> { 399 + impl std::fmt::Display for Id<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L353
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:353:6 | 353 | impl<'a> Id<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 353 - impl<'a> Id<'a> { 353 + impl Id<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L311
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:311:6 | 311 | impl<'a> SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 311 - impl<'a> SubscriptionId<'a> { 311 + impl SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L287
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:287:6 | 287 | impl<'a> From<String> for SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 287 - impl<'a> From<String> for SubscriptionId<'a> { 287 + impl From<String> for SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L281
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:281:6 | 281 | impl<'a> From<u64> for SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 281 - impl<'a> From<u64> for SubscriptionId<'a> { 281 + impl From<u64> for SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L272
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:272:6 | 272 | impl<'a> From<SubscriptionId<'a>> for JsonValue { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 272 - impl<'a> From<SubscriptionId<'a>> for JsonValue { 272 + impl From<SubscriptionId<'_>> for JsonValue { |
the following explicit lifetimes could be elided: 'de: types/src/params.rs#L47
warning: the following explicit lifetimes could be elided: 'de --> types/src/params.rs:47:6 | 47 | impl<'de> Visitor<'de> for TwoPointZeroVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 47 - impl<'de> Visitor<'de> for TwoPointZeroVisitor { 47 + impl Visitor<'_> for TwoPointZeroVisitor { |
the following explicit lifetimes could be elided: 'a: core/src/server/method_response.rs#L397
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/method_response.rs:397:6 | 397 | impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 397 - impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> 397 + impl<T> From<ErrorCode> for ResponsePayload<'_, T> |
the following explicit lifetimes could be elided: 'a: core/src/server/helpers.rs#L64
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/helpers.rs:64:6 | 64 | impl<'a> io::Write for &'a mut BoundedWriter { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 64 - impl<'a> io::Write for &'a mut BoundedWriter { 64 + impl io::Write for &mut BoundedWriter { |
the following explicit lifetimes could be elided: 'a: core/src/server/method_response.rs#L397
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/method_response.rs:397:6 | 397 | impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 397 - impl<'a, T> From<ErrorCode> for ResponsePayload<'a, T> 397 + impl<T> From<ErrorCode> for ResponsePayload<'_, T> |
the following explicit lifetimes could be elided: 'a: core/src/server/helpers.rs#L64
warning: the following explicit lifetimes could be elided: 'a --> core/src/server/helpers.rs:64:6 | 64 | impl<'a> io::Write for &'a mut BoundedWriter { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 64 - impl<'a> io::Write for &'a mut BoundedWriter { 64 + impl io::Write for &mut BoundedWriter { |
the following explicit lifetimes could be elided: 'a: types/src/error.rs#L107
warning: the following explicit lifetimes could be elided: 'a --> types/src/error.rs:107:6 | 107 | impl<'a> From<ErrorCode> for ErrorObject<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 107 - impl<'a> From<ErrorCode> for ErrorObject<'a> { 107 + impl From<ErrorCode> for ErrorObject<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/error.rs#L99
warning: the following explicit lifetimes could be elided: 'a --> types/src/error.rs:99:6 | 99 | impl<'a> PartialEq for ErrorObject<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 99 - impl<'a> PartialEq for ErrorObject<'a> { 99 + impl PartialEq for ErrorObject<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L316
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:316:6 | 316 | impl<'a, T> Serialize for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 316 - impl<'a, T> Serialize for Response<'a, T> 316 + impl<T> Serialize for Response<'_, T> |
the following explicit lifetimes could be elided: 'de: types/src/response.rs#L208
warning: the following explicit lifetimes could be elided: 'de --> types/src/response.rs:208:10 | 208 | impl<'de> serde::de::Visitor<'de> for FieldVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 208 - impl<'de> serde::de::Visitor<'de> for FieldVisitor { 208 + impl serde::de::Visitor<'_> for FieldVisitor { |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L71
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:71:6 | 71 | impl<'a, T> fmt::Debug for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 71 - impl<'a, T> fmt::Debug for Response<'a, T> 71 + impl<T> fmt::Debug for Response<'_, T> |
the following explicit lifetimes could be elided: 'a: types/src/response.rs#L62
warning: the following explicit lifetimes could be elided: 'a --> types/src/response.rs:62:6 | 62 | impl<'a, T> fmt::Display for Response<'a, T> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 62 - impl<'a, T> fmt::Display for Response<'a, T> 62 + impl<T> fmt::Display for Response<'_, T> |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L399
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:399:6 | 399 | impl<'a> std::fmt::Display for Id<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 399 - impl<'a> std::fmt::Display for Id<'a> { 399 + impl std::fmt::Display for Id<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L353
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:353:6 | 353 | impl<'a> Id<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 353 - impl<'a> Id<'a> { 353 + impl Id<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L311
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:311:6 | 311 | impl<'a> SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 311 - impl<'a> SubscriptionId<'a> { 311 + impl SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L287
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:287:6 | 287 | impl<'a> From<String> for SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 287 - impl<'a> From<String> for SubscriptionId<'a> { 287 + impl From<String> for SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L281
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:281:6 | 281 | impl<'a> From<u64> for SubscriptionId<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 281 - impl<'a> From<u64> for SubscriptionId<'a> { 281 + impl From<u64> for SubscriptionId<'_> { |
the following explicit lifetimes could be elided: 'a: types/src/params.rs#L272
warning: the following explicit lifetimes could be elided: 'a --> types/src/params.rs:272:6 | 272 | impl<'a> From<SubscriptionId<'a>> for JsonValue { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 272 - impl<'a> From<SubscriptionId<'a>> for JsonValue { 272 + impl From<SubscriptionId<'_>> for JsonValue { |
the following explicit lifetimes could be elided: 'de: types/src/params.rs#L47
warning: the following explicit lifetimes could be elided: 'de --> types/src/params.rs:47:6 | 47 | impl<'de> Visitor<'de> for TwoPointZeroVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 47 - impl<'de> Visitor<'de> for TwoPointZeroVisitor { 47 + impl Visitor<'_> for TwoPointZeroVisitor { |
Check style
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/
Check style
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/
Check style
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/
Check style
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/
Check
New version for cargo-machete available: 0.7.0
Check
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/
Check
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/
Check
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/
Check
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/
Check
New version for cargo-hack available: 0.6.33
Run tests macos
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/
Run tests macos
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/
Run tests macos
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/
Run tests macos
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/
Run tests Ubuntu
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/
Run tests Ubuntu
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/
Run tests Ubuntu
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/
Run tests Ubuntu
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/
Run tests Windows
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/
Run tests Windows
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/
Run tests Windows
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/
Run tests Windows
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/