Skip to content

fix(tendermint): Fix deserialization from serde_json::Value #3563

fix(tendermint): Fix deserialization from serde_json::Value

fix(tendermint): Fix deserialization from serde_json::Value #3563

Re-run triggered December 12, 2024 10:33
Status Failure
Total duration 3m 31s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
clippy-json-output: proto/src/serializers/bytes.rs#L16
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:16:31 | 16 | let string = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | = note: `-D elided-lifetimes-in-paths` implied by `-D rust-2018-idioms` = help: to override `-D rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 16 | let string = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ Raw Output: proto/src/serializers/bytes.rs:16:31:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:16:31 | 16 | let string = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | = note: `-D elided-lifetimes-in-paths` implied by `-D rust-2018-idioms` = help: to override `-D rust-2018-idioms` add `#[allow(elided_lifetimes_in_paths)]` help: indicate the anonymous lifetime | 16 | let string = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ __END__
clippy-json-output: proto/src/serializers/bytes.rs#L48
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:48:26 | 48 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 48 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ Raw Output: proto/src/serializers/bytes.rs:48:26:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:48:26 | 48 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 48 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ __END__
clippy-json-output: proto/src/serializers/bytes.rs#L58
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:58:26 | 58 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 58 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ Raw Output: proto/src/serializers/bytes.rs:58:26:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:58:26 | 58 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 58 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ __END__
clippy-json-output: proto/src/serializers/bytes.rs#L88
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:88:22 | 88 | Option::<Vec<CowStr>>::deserialize(deserializer)? | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 88 | Option::<Vec<CowStr<'_>>>::deserialize(deserializer)? | ++++ Raw Output: proto/src/serializers/bytes.rs:88:22:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:88:22 | 88 | Option::<Vec<CowStr>>::deserialize(deserializer)? | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 88 | Option::<Vec<CowStr<'_>>>::deserialize(deserializer)? | ++++ __END__
clippy-json-output: proto/src/serializers/bytes.rs#L124
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:124:26 | 124 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 124 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ Raw Output: proto/src/serializers/bytes.rs:124:26:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:124:26 | 124 | let s = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 124 | let s = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ __END__
clippy-json-output: proto/src/serializers/bytes.rs#L153
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:153:31 | 153 | let string = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 153 | let string = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ Raw Output: proto/src/serializers/bytes.rs:153:31:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/bytes.rs:153:31 | 153 | let string = Option::<CowStr>::deserialize(deserializer)?.unwrap_or_default(); | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 153 | let string = Option::<CowStr<'_>>::deserialize(deserializer)?.unwrap_or_default(); | ++++ __END__
clippy-json-output: proto/src/serializers/cow_str.rs#L32
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/cow_str.rs:32:54 | 32 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 32 | fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ Raw Output: proto/src/serializers/cow_str.rs:32:49:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/cow_str.rs:32:54 | 32 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { | -----^^^^^^^^^ | | | expected lifetime parameter | help: indicate the anonymous lifetime | 32 | fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { | ++++ __END__
clippy-json-output: proto/src/serializers/from_str_allow_null.rs#L29
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/from_str_allow_null.rs:29:19 | 29 | match <Option<CowStr>>::deserialize(deserializer)? { | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 29 | match <Option<CowStr<'_>>>::deserialize(deserializer)? { | ++++ Raw Output: proto/src/serializers/from_str_allow_null.rs:29:19:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/from_str_allow_null.rs:29:19 | 29 | match <Option<CowStr>>::deserialize(deserializer)? { | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 29 | match <Option<CowStr<'_>>>::deserialize(deserializer)? { | ++++ __END__
clippy-json-output: proto/src/serializers/optional_from_str.rs#L27
[clippy] reported by reviewdog 🐶 error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/optional_from_str.rs:27:28 | 27 | let s = match Option::<CowStr>::deserialize(deserializer)? { | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 27 | let s = match Option::<CowStr<'_>>::deserialize(deserializer)? { | ++++ Raw Output: proto/src/serializers/optional_from_str.rs:27:28:e:error: hidden lifetime parameters in types are deprecated --> proto/src/serializers/optional_from_str.rs:27:28 | 27 | let s = match Option::<CowStr>::deserialize(deserializer)? { | ^^^^^^ expected lifetime parameter | help: indicate the anonymous lifetime | 27 | let s = match Option::<CowStr<'_>>::deserialize(deserializer)? { | ++++ __END__
clippy-json-output
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
cleanup-runs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy-tools-output
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy-json-output
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636