Skip to content

Add non-compliant JSON serialization for `Any`

Sign in for the full log view
GitHub Actions / clippy failed Jul 30, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (11)

proto/src/google/protobuf/any.rs|135 col 46| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:135:46
|
135 | fn serialize(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
| ^^^ use of undeclared crate or module std
|
help: consider importing this module
|
4 + use core::result;
|
help: if you import result, refer to it directly
|
135 - fn serialize(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
135 + fn serialize(&self, serializer: S) -> result::Result<S::Ok, S::Error>
|
proto/src/google/protobuf/any.rs|162 col 43| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:162:43
|
162 | fn deserialize(deserializer: D) -> std::result::Result<Self, D::Error>
| ^^^ use of undeclared crate or module std
|
help: consider importing this module
|
4 + use core::result;
|
help: if you import result, refer to it directly
|
162 - fn deserialize(deserializer: D) -> std::result::Result<Self, D::Error>
162 + fn deserialize(deserializer: D) -> result::Result<Self, D::Error>
|
proto/src/google/protobuf/any.rs|174 col 51| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:174:51
|
174 | fn deserialize(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
| ^^^ use of undeclared crate or module std
|
help: consider importing this module
|
4 + use core::result;
|
help: if you import result, refer to it directly
|
174 - fn deserialize(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
174 + fn deserialize(deserializer: D) -> result::Result<GeneratedField, D::Error>
|
proto/src/google/protobuf/any.rs|185 col 41| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:185:41
|
185 | formatter: &mut std::fmt::Formatter<'>,
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
4 + use alloc::fmt;
|
4 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
185 - formatter: &mut std::fmt::Formatter<'
>,
185 + formatter: &mut fmt::Formatter<'>,
|
proto/src/google/protobuf/any.rs|186 col 26| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:186:26
|
186 | ) -> std::fmt::Result {
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
4 + use alloc::fmt;
|
4 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
186 - ) -> std::fmt::Result {
186 + ) -> fmt::Result {
|
proto/src/google/protobuf/any.rs|191 col 59| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:191:59
|
191 | fn visit_str(self, value: &str) -> std::result::Result<GeneratedField, E>
| ^^^ use of undeclared crate or module std
|
help: consider importing this module
|
4 + use core::result;
|
help: if you import result, refer to it directly
|
191 - fn visit_str(self, value: &str) -> std::result::Result<GeneratedField, E>
191 + fn visit_str(self, value: &str) -> result::Result<GeneratedField, E>
|
proto/src/google/protobuf/any.rs|209 col 49| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:49
|
209 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'
>) -> std::fmt::Result {
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
4 + use alloc::fmt;
|
4 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
209 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'>) -> std::fmt::Result {
209 + fn expecting(&self, formatter: &mut fmt::Formatter<'
>) -> std::fmt::Result {
|
proto/src/google/protobuf/any.rs|209 col 77| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:77
|
209 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'>) -> std::fmt::Result {
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
4 + use alloc::fmt;
|
4 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
209 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'
>) -> std::fmt::Result {
209 + fn expecting(&self, formatter: &mut std::fmt::Formatter<'>) -> fmt::Result {
|
proto/src/google/protobuf/any.rs|213 col 51| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:213:51
|
213 | fn visit_map(self, mut map
: V) -> std::result::Result<Any, V::Error>
| ^^^ use of undeclared crate or module std
|
help: consider importing this module
|
4 + use core::result;
|
help: if you import result, refer to it directly
|
213 - fn visit_map(self, mut map_: V) -> std::result::Result<Any, V::Error>
213 + fn visit_map(self, mut map_: V) -> result::Result<Any, V::Error>
|
proto/src/google/protobuf/duration.rs|105 col 41| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:41
|
105 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'>) -> std::fmt::Result {
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
7 + use alloc::fmt;
|
7 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
105 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'
>) -> std::fmt::Result {
105 + fn expecting(&self, formatter: &mut fmt::Formatter<'>) -> std::fmt::Result {
|
proto/src/google/protobuf/duration.rs|105 col 69| error[E0433]: failed to resolve: use of undeclared crate or module std
--> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:69
|
105 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'
>) -> std::fmt::Result {
| ^^^ use of undeclared crate or module std
|
help: consider importing one of these items
|
7 + use alloc::fmt;
|
7 + use core::fmt;
|
help: if you import fmt, refer to it directly
|
105 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'>) -> std::fmt::Result {
105 + fn expecting(&self, formatter: &mut std::fmt::Formatter<'
>) -> fmt::Result {
|

Filtered Findings (0)

Annotations

Check failure on line 135 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L135

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:135:46
    |
135 |     fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
    |                                              ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
135 -     fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
135 +     fn serialize<S>(&self, serializer: S) -> result::Result<S::Ok, S::Error>
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:135:46:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:135:46
    |
135 |     fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
    |                                              ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
135 -     fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
135 +     fn serialize<S>(&self, serializer: S) -> result::Result<S::Ok, S::Error>
    |


__END__

Check failure on line 162 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L162

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:162:43
    |
162 |     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
    |                                           ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
162 -     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
162 +     fn deserialize<D>(deserializer: D) -> result::Result<Self, D::Error>
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:162:43:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:162:43
    |
162 |     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
    |                                           ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
162 -     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, D::Error>
162 +     fn deserialize<D>(deserializer: D) -> result::Result<Self, D::Error>
    |


__END__

Check failure on line 174 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L174

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:174:51
    |
174 |             fn deserialize<D>(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
    |                                                   ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
174 -             fn deserialize<D>(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
174 +             fn deserialize<D>(deserializer: D) -> result::Result<GeneratedField, D::Error>
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:174:51:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:174:51
    |
174 |             fn deserialize<D>(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
    |                                                   ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
174 -             fn deserialize<D>(deserializer: D) -> std::result::Result<GeneratedField, D::Error>
174 +             fn deserialize<D>(deserializer: D) -> result::Result<GeneratedField, D::Error>
    |


__END__

Check failure on line 185 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L185

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:185:41
    |
185 |                         formatter: &mut std::fmt::Formatter<'_>,
    |                                         ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
185 -                         formatter: &mut std::fmt::Formatter<'_>,
185 +                         formatter: &mut fmt::Formatter<'_>,
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:185:41:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:185:41
    |
185 |                         formatter: &mut std::fmt::Formatter<'_>,
    |                                         ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
185 -                         formatter: &mut std::fmt::Formatter<'_>,
185 +                         formatter: &mut fmt::Formatter<'_>,
    |


__END__

Check failure on line 186 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L186

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:186:26
    |
186 |                     ) -> std::fmt::Result {
    |                          ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
186 -                     ) -> std::fmt::Result {
186 +                     ) -> fmt::Result {
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:186:26:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:186:26
    |
186 |                     ) -> std::fmt::Result {
    |                          ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
186 -                     ) -> std::fmt::Result {
186 +                     ) -> fmt::Result {
    |


__END__

Check failure on line 191 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L191

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:191:59
    |
191 |                     fn visit_str<E>(self, value: &str) -> std::result::Result<GeneratedField, E>
    |                                                           ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
191 -                     fn visit_str<E>(self, value: &str) -> std::result::Result<GeneratedField, E>
191 +                     fn visit_str<E>(self, value: &str) -> result::Result<GeneratedField, E>
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:191:59:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:191:59
    |
191 |                     fn visit_str<E>(self, value: &str) -> std::result::Result<GeneratedField, E>
    |                                                           ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
191 -                     fn visit_str<E>(self, value: &str) -> std::result::Result<GeneratedField, E>
191 +                     fn visit_str<E>(self, value: &str) -> result::Result<GeneratedField, E>
    |


__END__

Check failure on line 209 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L209

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:49
    |
209 |             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                 ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
209 -             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 +             fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result {
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:49:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:49
    |
209 |             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                 ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
209 -             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 +             fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result {
    |


__END__

Check failure on line 209 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L209

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:77
    |
209 |             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                                             ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
209 -             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 +             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result {
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:77:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:209:77
    |
209 |             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                                             ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
4   + use alloc::fmt;
    |
4   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
209 -             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 +             fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result {
    |


__END__

Check failure on line 213 in proto/src/google/protobuf/any.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/any.rs#L213

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:213:51
    |
213 |             fn visit_map<V>(self, mut map_: V) -> std::result::Result<Any, V::Error>
    |                                                   ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
213 -             fn visit_map<V>(self, mut map_: V) -> std::result::Result<Any, V::Error>
213 +             fn visit_map<V>(self, mut map_: V) -> result::Result<Any, V::Error>
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:213:51:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/any.rs:213:51
    |
213 |             fn visit_map<V>(self, mut map_: V) -> std::result::Result<Any, V::Error>
    |                                                   ^^^ use of undeclared crate or module `std`
    |
help: consider importing this module
    |
4   + use core::result;
    |
help: if you import `result`, refer to it directly
    |
213 -             fn visit_map<V>(self, mut map_: V) -> std::result::Result<Any, V::Error>
213 +             fn visit_map<V>(self, mut map_: V) -> result::Result<Any, V::Error>
    |


__END__

Check failure on line 105 in proto/src/google/protobuf/duration.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/duration.rs#L105

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:41
    |
105 |     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                         ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
7   + use alloc::fmt;
    |
7   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
105 -     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105 +     fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result {
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:41:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:41
    |
105 |     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                         ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
7   + use alloc::fmt;
    |
7   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
105 -     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105 +     fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result {
    |


__END__

Check failure on line 105 in proto/src/google/protobuf/duration.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] proto/src/google/protobuf/duration.rs#L105

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:69
    |
105 |     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                                     ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
7   + use alloc::fmt;
    |
7   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
105 -     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105 +     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result {
    |
Raw output
/home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:69:e:error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/work/tendermint-rs/tendermint-rs/proto/src/google/protobuf/duration.rs:105:69
    |
105 |     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    |                                                                     ^^^ use of undeclared crate or module `std`
    |
help: consider importing one of these items
    |
7   + use alloc::fmt;
    |
7   + use core::fmt;
    |
help: if you import `fmt`, refer to it directly
    |
105 -     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105 +     fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result {
    |


__END__