proto: Add Any
Protobuf type and improve Duration
and Timestamp
Protobuf types
#2561
build.yml
on: pull_request
cleanup-runs
6s
tendermint
41s
build-light-client-wasm
31s
tools
52s
generated-protos-compile
1m 37s
Annotations
15 errors
build-light-client-wasm
Process completed with exit code 101.
|
[clippy] proto/src/google/protobuf/any.rs#L135:
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>
|
|
[clippy] proto/src/google/protobuf/any.rs#L162:
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>
|
|
[clippy] proto/src/google/protobuf/any.rs#L174:
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>
|
|
[clippy] proto/src/google/protobuf/any.rs#L185:
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<'_>,
|
|
[clippy] proto/src/google/protobuf/any.rs#L186:
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 {
|
|
[clippy] proto/src/google/protobuf/any.rs#L191:
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>
|
|
[clippy] proto/src/google/protobuf/any.rs#L209:
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 {
|
|
[clippy] proto/src/google/protobuf/any.rs#L209:
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 {
|
|
[clippy] proto/src/google/protobuf/any.rs#L213:
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>
|
|
[clippy] proto/src/google/protobuf/duration.rs#L105:
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 {
|
|
[clippy] proto/src/google/protobuf/duration.rs#L105:
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 {
|
|
tendermint
Process completed with exit code 101.
|
tools
Process completed with exit code 101.
|
generated-protos-compile
Process completed with exit code 101.
|