[WEEKLY RELEASE] Bump HotShot #342
Annotations
5 errors
the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied:
/home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs#L28
error[E0277]: the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs:28:28
|
28 | #[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
| ^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `PeerId`, which is required by `Vec<(PeerId, Multiaddr)>: _::_serde::Deserialize<'_>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PeerId` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
`&'a ByteArray<N>` implements `_::_serde::Deserialize<'de>`
`&'a Path` implements `_::_serde::Deserialize<'de>`
`&'a [u8]` implements `_::_serde::Deserialize<'de>`
`&'a serde_bytes::Bytes` implements `_::_serde::Deserialize<'de>`
`&'a str` implements `_::_serde::Deserialize<'de>`
`&'de bitvec::slice::BitSlice<u8, O>` implements `_::_serde::Deserialize<'de>`
`()` implements `_::_serde::Deserialize<'de>`
`(T,)` implements `_::_serde::Deserialize<'de>`
and 286 others
= note: required for `(PeerId, Multiaddr)` to implement `_::_serde::Deserialize<'_>`
= note: 1 redundant requirement hidden
= note: required for `Vec<(PeerId, Multiaddr)>` to implement `_::_serde::Deserialize<'_>`
note: required by a bound in `_::_serde::__private::de::missing_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/de.rs:25:8
|
23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
| ------------- required by a bound in this function
24 | where
25 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
= note: this error originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied:
/home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs#L31
error[E0277]: the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs:31:26
|
31 | pub bootstrap_nodes: Vec<(PeerId, Multiaddr)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `PeerId`, which is required by `Vec<(PeerId, Multiaddr)>: _::_serde::Deserialize<'_>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PeerId` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
`&'a ByteArray<N>` implements `_::_serde::Deserialize<'de>`
`&'a Path` implements `_::_serde::Deserialize<'de>`
`&'a [u8]` implements `_::_serde::Deserialize<'de>`
`&'a serde_bytes::Bytes` implements `_::_serde::Deserialize<'de>`
`&'a str` implements `_::_serde::Deserialize<'de>`
`&'de bitvec::slice::BitSlice<u8, O>` implements `_::_serde::Deserialize<'de>`
`()` implements `_::_serde::Deserialize<'de>`
`(T,)` implements `_::_serde::Deserialize<'de>`
and 286 others
= note: required for `(PeerId, Multiaddr)` to implement `_::_serde::Deserialize<'_>`
= note: 1 redundant requirement hidden
= note: required for `Vec<(PeerId, Multiaddr)>` to implement `_::_serde::Deserialize<'_>`
note: required by a bound in `next_value`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1872:12
|
1870 | fn next_value<V>(&mut self) -> Result<V, Self::Error>
| ---------- required by a bound in this associated function
1871 | where
1872 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
|
the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied:
/home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs#L31
error[E0277]: the trait bound `PeerId: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs:31:26
|
31 | pub bootstrap_nodes: Vec<(PeerId, Multiaddr)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `PeerId`, which is required by `Vec<(PeerId, Multiaddr)>: _::_serde::Deserialize<'_>`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PeerId` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
`&'a ByteArray<N>` implements `_::_serde::Deserialize<'de>`
`&'a Path` implements `_::_serde::Deserialize<'de>`
`&'a [u8]` implements `_::_serde::Deserialize<'de>`
`&'a serde_bytes::Bytes` implements `_::_serde::Deserialize<'de>`
`&'a str` implements `_::_serde::Deserialize<'de>`
`&'de bitvec::slice::BitSlice<u8, O>` implements `_::_serde::Deserialize<'de>`
`()` implements `_::_serde::Deserialize<'de>`
`(T,)` implements `_::_serde::Deserialize<'de>`
and 286 others
= note: required for `(PeerId, Multiaddr)` to implement `_::_serde::Deserialize<'_>`
= note: 1 redundant requirement hidden
= note: required for `Vec<(PeerId, Multiaddr)>` to implement `_::_serde::Deserialize<'_>`
note: required by a bound in `next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12
|
1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1732 | where
1733 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
|
the trait bound `PeerId: _::_serde::Serialize` is not satisfied:
/home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs#L28
error[E0277]: the trait bound `PeerId: _::_serde::Serialize` is not satisfied
--> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/8485af8/crates/types/src/network.rs:28:10
|
28 | #[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
| ^^^^^^^^^^^^^^^^ the trait `_::_serde::Serialize` is not implemented for `PeerId`, which is required by `Vec<(PeerId, Multiaddr)>: _::_serde::Serialize`
29 | pub struct Libp2pConfig {
30 | /// The bootstrap nodes to connect to (multiaddress, serialized public key)
| --------------------------------------------------------------------------- required by a bound introduced by this call
|
= note: for local types consider adding `#[derive(serde::Serialize)]` to your `PeerId` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
= help: the following other types implement trait `_::_serde::Serialize`:
&'a T
&'a mut T
()
(T,)
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
and 264 others
= note: required for `(PeerId, Multiaddr)` to implement `_::_serde::Serialize`
= note: 1 redundant requirement hidden
= note: required for `Vec<(PeerId, Multiaddr)>` to implement `_::_serde::Serialize`
note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:1867:21
|
1865 | fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function
1866 | where
1867 | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
= note: this error originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
lint
Clippy had exited with the 101 exit code
|