Skip to content

Bump miniconf from 0.17.1 to 0.18.0 #885

Bump miniconf from 0.17.1 to 0.18.0

Bump miniconf from 0.17.1 to 0.18.0 #885

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

clippy

10 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 10
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-f719fbbd19984222.long-type-3262935275016272236.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.17.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.17.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.17.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,
    |                                                                         +++++++++++++++++++++++++

Check failure on line 475 in src/hardware/setup.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `C: miniconf::TreeDeserializeOwned` is not satisfied

error[E0277]: the trait bound `C: miniconf::TreeDeserializeOwned` is not satisfied
   --> src/hardware/setup.rs:475:63
    |
475 |         crate::settings::SerialSettingsPlatform::<_, Y>::load(&mut settings, &mut flash);
    |         ----------------------------------------------------- ^^^^^^^^^^^^^ the trait `for<'de> miniconf::TreeDeserialize<'de>` is not implemented for `C`, which is required by `C: miniconf::TreeDeserializeOwned`
    |         |
    |         required by a bound introduced by this call
    |
    = note: required for `C` to implement `miniconf::TreeDeserializeOwned`
note: required by a bound in `settings::SerialSettingsPlatform::<C, Y>::load`
   --> src/settings.rs:112:8
    |
112 |     C: TreeDeserializeOwned + TreeSerialize + TreeKey,
    |        ^^^^^^^^^^^^^^^^^^^^ required by this bound in `SerialSettingsPlatform::<C, Y>::load`
113 | {
114 |     pub fn load(structure: &mut C, storage: &mut Flash) {
    |            ---- required by a bound in this associated function
help: consider further restricting this bound
    |
129 |     C: serial_settings::Settings + crate::settings::AppSettings + for<'de> miniconf::TreeDeserialize<'de>,
    |                                                                 +++++++++++++++++++++++++++++++++++++++++

Check failure on line 475 in src/hardware/setup.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `C: miniconf::TreeKey` is not satisfied

error[E0277]: the trait bound `C: miniconf::TreeKey` is not satisfied
   --> src/hardware/setup.rs:475:63
    |
475 |         crate::settings::SerialSettingsPlatform::<_, Y>::load(&mut settings, &mut flash);
    |         ----------------------------------------------------- ^^^^^^^^^^^^^ the trait `miniconf::TreeKey` is not implemented for `C`
    |         |
    |         required by a bound introduced by this call
    |
note: required by a bound in `settings::SerialSettingsPlatform::<C, Y>::load`
   --> src/settings.rs:112:47
    |
112 |     C: TreeDeserializeOwned + TreeSerialize + TreeKey,
    |                                               ^^^^^^^ required by this bound in `SerialSettingsPlatform::<C, Y>::load`
113 | {
114 |     pub fn load(structure: &mut C, storage: &mut Flash) {
    |            ---- required by a bound in this associated function
help: consider further restricting this bound
    |
129 |     C: serial_settings::Settings + crate::settings::AppSettings + miniconf::TreeKey,
    |                                                                 +++++++++++++++++++

Check failure on line 475 in src/hardware/setup.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `C: miniconf::TreeSerialize` is not satisfied

error[E0277]: the trait bound `C: miniconf::TreeSerialize` is not satisfied
   --> src/hardware/setup.rs:475:63
    |
475 |         crate::settings::SerialSettingsPlatform::<_, Y>::load(&mut settings, &mut flash);
    |         ----------------------------------------------------- ^^^^^^^^^^^^^ the trait `miniconf::TreeSerialize` is not implemented for `C`
    |         |
    |         required by a bound introduced by this call
    |
note: required by a bound in `settings::SerialSettingsPlatform::<C, Y>::load`
   --> src/settings.rs:112:31
    |
112 |     C: TreeDeserializeOwned + TreeSerialize + TreeKey,
    |                               ^^^^^^^^^^^^^ required by this bound in `SerialSettingsPlatform::<C, Y>::load`
113 | {
114 |     pub fn load(structure: &mut C, storage: &mut Flash) {
    |            ---- required by a bound in this associated function
help: consider further restricting this bound
    |
129 |     C: serial_settings::Settings + crate::settings::AppSettings + miniconf::TreeSerialize,
    |                                                                 +++++++++++++++++++++++++

Check failure on line 118 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `Settings: miniconf::tree::TreeKey` is not satisfied

error[E0277]: the trait bound `Settings: miniconf::tree::TreeKey` is not satisfied
   --> src/main.rs:118:36
    |
118 | impl serial_settings::Settings for Settings {
    |                                    ^^^^^^^^ the trait `miniconf::tree::TreeKey` is not implemented for `Settings`
    |
    = help: the following other types implement trait `miniconf::tree::TreeKey`:
              &T
              &mut T
              (T0, T1)
              (T0, T1, T2)
              (T0, T1, T2, T3)
              (T0, T1, T2, T3, T4)
              (T0, T1, T2, T3, T4, T5)
              (T0, T1, T2, T3, T4, T5, T6)
            and 15 others
note: required by a bound in `serial_settings::Settings`
   --> /home/runner/.cargo/git/checkouts/stabilizer-f1eefc2ad8feebcf/e6811e1/serial-settings/src/lib.rs:17:5
    |
16  | pub trait Settings:
    |           -------- required by a bound in this trait
17  |     TreeKey + TreeSerialize + TreeDeserializeOwned + Clone
    |     ^^^^^^^ required by this bound in `Settings`
    = note: `Settings` is a "sealed trait", because to implement it you also need to implement `miniconf::tree::TreeKey`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following types implement the trait:
              &T
              &mut T
              (T0,)
              (T0, T1)
              (T0, T1, T2)
              (T0, T1, T2, T3)
              (T0, T1, T2, T3, T4)
              (T0, T1, T2, T3, T4, T5)
            and 15 others

Check failure on line 118 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `Settings: miniconf::tree::TreeSerialize` is not satisfied

error[E0277]: the trait bound `Settings: miniconf::tree::TreeSerialize` is not satisfied
   --> src/main.rs:118:36
    |
118 | impl serial_settings::Settings for Settings {
    |                                    ^^^^^^^^ the trait `miniconf::tree::TreeSerialize` is not implemented for `Settings`
    |
    = help: the following other types implement trait `miniconf::tree::TreeSerialize`:
              &T
              &mut T
              (T0, T1)
              (T0, T1, T2)
              (T0, T1, T2, T3)
              (T0, T1, T2, T3, T4)
              (T0, T1, T2, T3, T4, T5)
              (T0, T1, T2, T3, T4, T5, T6)
            and 15 others
note: required by a bound in `serial_settings::Settings`
   --> /home/runner/.cargo/git/checkouts/stabilizer-f1eefc2ad8feebcf/e6811e1/serial-settings/src/lib.rs:17:15
    |
16  | pub trait Settings:
    |           -------- required by a bound in this trait
17  |     TreeKey + TreeSerialize + TreeDeserializeOwned + Clone
    |               ^^^^^^^^^^^^^ required by this bound in `Settings`
    = note: `Settings` is a "sealed trait", because to implement it you also need to implement `miniconf::tree::TreeSerialize`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following types implement the trait:
              &T
              &mut T
              (T0,)
              (T0, T1)
              (T0, T1, T2)
              (T0, T1, T2, T3)
              (T0, T1, T2, T3, T4)
              (T0, T1, T2, T3, T4, T5)
            and 15 others

Check failure on line 118 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `for<'de> Settings: miniconf::tree::TreeDeserialize<'de>` is not satisfied

error[E0277]: the trait bound `for<'de> Settings: miniconf::tree::TreeDeserialize<'de>` is not satisfied
   --> src/main.rs:118:36
    |
118 | impl serial_settings::Settings for Settings {
    |                                    ^^^^^^^^ the trait `for<'de> miniconf::tree::TreeDeserialize<'de>` is not implemented for `Settings`, which is required by `Settings: miniconf::tree::TreeDeserializeOwned`
    |
    = help: the following other types implement trait `miniconf::tree::TreeDeserialize<'de>`:
              &core::cell::RefCell<T>
              &mut T
              (T0, T1)
              (T0, T1, T2)
              (T0, T1, T2, T3)
              (T0, T1, T2, T3, T4)
              (T0, T1, T2, T3, T4, T5)
              (T0, T1, T2, T3, T4, T5, T6)
            and 14 others
    = note: required for `Settings` to implement `miniconf::tree::TreeDeserializeOwned`
note: required by a bound in `serial_settings::Settings`
   --> /home/runner/.cargo/git/checkouts/stabilizer-f1eefc2ad8feebcf/e6811e1/serial-settings/src/lib.rs:17:31
    |
16  | pub trait Settings:
    |           -------- required by a bound in this trait
17  |     TreeKey + TreeSerialize + TreeDeserializeOwned + Clone
    |                               ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Settings`
    = note: `Settings` is a "sealed trait", because to implement it you also need to implement `miniconf::tree::TreeDeserializeOwned`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following type implements the trait:
              T