Skip to content

Bump miniconf_mqtt from 0.17.0 to 0.18.0 #879

Bump miniconf_mqtt from 0.17.0 to 0.18.0

Bump miniconf_mqtt from 0.17.0 to 0.18.0 #879

GitHub Actions / clippy failed Nov 25, 2024 in 0s

clippy

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 200 in src/net/mod.rs

See this annotation in the file changed.

@github-actions 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-b74b195f974d4c78.long-type-16275311468406305233.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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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,
    |                                                                         +++++++++++++++++++++++++