remove newtypes in favor of Miniconf<{Leaf,Internal}>
#428
Annotations
12 errors and 33 warnings
documentation
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
missing generics for trait `Miniconf`:
src/mqtt_client/mod.rs#L78
error[E0107]: missing generics for trait `Miniconf`
--> src/mqtt_client/mod.rs:78:45
|
78 | impl<C: embedded_time::Clock, M: super::Miniconf> StateMachineContext for Context<C, M> {
| ^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `Y`
--> src/lib.rs:123:11
|
123 | pub trait Miniconf<Y> {
| ^^^^^^^^ -
help: add missing generic argument
|
78 | impl<C: embedded_time::Clock, M: super::Miniconf<Y>> StateMachineContext for Context<C, M> {
| +++
|
missing generics for trait `Miniconf`:
src/mqtt_client/mod.rs#L60
error[E0107]: missing generics for trait `Miniconf`
--> src/mqtt_client/mod.rs:60:45
|
60 | impl<C: embedded_time::Clock, M: super::Miniconf> Context<C, M> {
| ^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `Y`
--> src/lib.rs:123:11
|
123 | pub trait Miniconf<Y> {
| ^^^^^^^^ -
help: add missing generic argument
|
60 | impl<C: embedded_time::Clock, M: super::Miniconf<Y>> Context<C, M> {
| +++
|
trait takes 2 generic arguments but 1 generic argument was supplied:
src/mqtt_client/mod.rs#L179
error[E0107]: trait takes 2 generic arguments but 1 generic argument was supplied
--> src/mqtt_client/mod.rs:179:15
|
179 | Settings: SerDe<JsonCoreSlash> + Clone,
| ^^^^^ ------------- supplied 1 generic argument
| |
| expected 2 generic arguments
|
note: trait defined here, with 2 generic parameters: `S`, `Y`
--> src/lib.rs:187:11
|
187 | pub trait SerDe<S, Y>: Miniconf<Y> + Sized {
| ^^^^^ - -
help: add missing generic argument
|
179 | Settings: SerDe<JsonCoreSlash, Y> + Clone,
| +++
|
trait takes 2 generic arguments but 1 generic argument was supplied:
src/mqtt_client/mod.rs#L163
error[E0107]: trait takes 2 generic arguments but 1 generic argument was supplied
--> src/mqtt_client/mod.rs:163:15
|
163 | Settings: SerDe<JsonCoreSlash> + Clone,
| ^^^^^ ------------- supplied 1 generic argument
| |
| expected 2 generic arguments
|
note: trait defined here, with 2 generic parameters: `S`, `Y`
--> src/lib.rs:187:11
|
187 | pub trait SerDe<S, Y>: Miniconf<Y> + Sized {
| ^^^^^ - -
help: add missing generic argument
|
163 | Settings: SerDe<JsonCoreSlash, Y> + Clone,
| +++
|
missing generics for trait `Miniconf`:
src/mqtt_client/mod.rs#L54
error[E0107]: missing generics for trait `Miniconf`
--> src/mqtt_client/mod.rs:54:59
|
54 | pub struct Context<C: embedded_time::Clock, M: super::Miniconf> {
| ^^^^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `Y`
--> src/lib.rs:123:11
|
123 | pub trait Miniconf<Y> {
| ^^^^^^^^ -
help: add missing generic argument
|
54 | pub struct Context<C: embedded_time::Clock, M: super::Miniconf<Y>> {
| +++
|
struct takes 5 generic arguments but 4 generic arguments were supplied:
src/mqtt_client/mod.rs#L27
error[E0107]: struct takes 5 generic arguments but 4 generic arguments were supplied
--> src/mqtt_client/mod.rs:27:12
|
27 | crate::MiniconfIter<M, JsonCoreSlash, MAX_RECURSION_DEPTH, String<MAX_TOPIC_LENGTH>>;
| ^^^^^^^^^^^^ - ------------- ------------------- ------------------------ supplied 4 generic arguments
| |
| expected 5 generic arguments
|
note: struct defined here, with 5 generic parameters: `M`, `S`, `L`, `P`, `Y`
--> src/iter.rs:6:12
|
6 | pub struct MiniconfIter<M, S, const L: usize, P, Y> {
| ^^^^^^^^^^^^ - - -------------- - -
help: add missing generic argument
|
27 | crate::MiniconfIter<M, JsonCoreSlash, MAX_RECURSION_DEPTH, String<MAX_TOPIC_LENGTH>, Y>;
| +++
|
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
style
Clippy had exited with the 101 exit code
|
compile (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
compile (stable)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
examples (mqtt)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
documentation
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
documentation
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
documentation
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
documentation
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
audit
1 warnings found!
|
audit
Unknown warning kind unsound found, please, file a bug
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
examples (mqtt)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
examples (mqtt)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
examples (mqtt)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
examples (mqtt)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
examples (mqtt)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|