Bump miniconf_mqtt from 0.17.0 to 0.18.0 #895
clippy
4 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 4 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 200 in src/net/mod.rs
github-actions / clippy
the method `update` exists for struct `MqttClient<'static, S, NetworkStackProxy<'static, NetworkStack<'static, EthernetDMA<4, 4>, ...>>, ..., ..., Y>`, but its trait bounds were not satisfied
error[E0599]: the method `update` exists for struct `MqttClient<'static, S, NetworkStackProxy<'static, NetworkStack<'static, EthernetDMA<4, 4>, ...>>, ..., ..., Y>`, but its trait bounds were not satisfied
--> src/net/mod.rs:200:29
|
200 | match self.miniconf.update(settings) {
| ^^^^^^ method cannot be called due to unsatisfied trait bounds
|
= note: the full type name has been written to '/home/runner/work/thermostat-eem/thermostat-eem/target/thumbv7em-none-eabihf/debug/deps/thermostat_eem-d7eba8bde26c01f9.long-type-145822405479882488.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`S: miniconf::tree::TreeKey`
`S: miniconf::tree::TreeSerialize`
`S: miniconf::tree::TreeDeserialize<'de>`
which is required by `S: miniconf::tree::TreeDeserializeOwned`
Check failure on line 125 in src/net/mod.rs
github-actions / clippy
the trait bound `S: miniconf::tree::TreeDeserializeOwned` is not satisfied
error[E0277]: the trait bound `S: miniconf::tree::TreeDeserializeOwned` is not satisfied
--> src/net/mod.rs:118:24
|
118 | let settings = miniconf_mqtt::MqttClient::new(
| ________________________^
119 | | stack_manager.acquire_stack(),
120 | | prefix.as_str(),
121 | | clock,
... |
124 | | .unwrap(),
125 | | )
| |_________^ the trait `for<'de> miniconf::tree::TreeDeserialize<'de>` is not implemented for `S`, which is required by `S: miniconf::tree::TreeDeserializeOwned`
|
= note: required for `S` to implement `miniconf::tree::TreeDeserializeOwned`
note: required by a bound in `miniconf_mqtt::MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/miniconf_mqtt-0.18.0/src/lib.rs:235:41
|
235 | Settings: TreeKey + TreeSerialize + TreeDeserializeOwned,
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
...
247 | pub fn new(
| --- required by a bound in this associated function
help: consider further restricting this bound
|
78 | S: Default + TreeDeserializeOwned + TreeSerialize + TreeKey + Clone + for<'de> miniconf::tree::TreeDeserialize<'de>,
| +++++++++++++++++++++++++++++++++++++++++++++++
Check failure on line 125 in src/net/mod.rs
github-actions / clippy
the trait bound `S: miniconf::tree::TreeSerialize` is not satisfied
error[E0277]: the trait bound `S: miniconf::tree::TreeSerialize` is not satisfied
--> src/net/mod.rs:118:24
|
118 | let settings = miniconf_mqtt::MqttClient::new(
| ________________________^
119 | | stack_manager.acquire_stack(),
120 | | prefix.as_str(),
121 | | clock,
... |
124 | | .unwrap(),
125 | | )
| |_________^ the trait `miniconf::tree::TreeSerialize` is not implemented for `S`
|
note: required by a bound in `miniconf_mqtt::MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/miniconf_mqtt-0.18.0/src/lib.rs:235:25
|
235 | Settings: TreeKey + TreeSerialize + TreeDeserializeOwned,
| ^^^^^^^^^^^^^ required by this bound in `MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
...
247 | pub fn new(
| --- required by a bound in this associated function
help: consider further restricting this bound
|
78 | S: Default + TreeDeserializeOwned + TreeSerialize + TreeKey + Clone + miniconf::tree::TreeSerialize,
| +++++++++++++++++++++++++++++++
Check failure on line 125 in src/net/mod.rs
github-actions / clippy
the trait bound `S: miniconf::tree::TreeKey` is not satisfied
error[E0277]: the trait bound `S: miniconf::tree::TreeKey` is not satisfied
--> src/net/mod.rs:118:24
|
118 | let settings = miniconf_mqtt::MqttClient::new(
| ________________________^
119 | | stack_manager.acquire_stack(),
120 | | prefix.as_str(),
121 | | clock,
... |
124 | | .unwrap(),
125 | | )
| |_________^ the trait `miniconf::tree::TreeKey` is not implemented for `S`
|
note: required by a bound in `miniconf_mqtt::MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/miniconf_mqtt-0.18.0/src/lib.rs:235:15
|
235 | Settings: TreeKey + TreeSerialize + TreeDeserializeOwned,
| ^^^^^^^ required by this bound in `MqttClient::<'a, Settings, Stack, Clock, Broker, Y>::new`
...
247 | pub fn new(
| --- required by a bound in this associated function
help: consider further restricting this bound
|
78 | S: Default + TreeDeserializeOwned + TreeSerialize + TreeKey + Clone + miniconf::tree::TreeKey,
| +++++++++++++++++++++++++