remove newtypes in favor of Miniconf<{Leaf,Internal}>
#427
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
12 errors and 33 warnings
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:126:11
|
126 | pub trait Miniconf<Y: Style> {
| ^^^^^^^^ -
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>;
| +++
|
attribute should be applied to a struct, enum, or union:
src/option.rs#L48
error[E0517]: attribute should be applied to a struct, enum, or union
--> src/option.rs:48:8
|
48 | #[repr(transparent)]
| ^^^^^^^^^^^
49 | pub type Option<T> = core::option::Option<T>;
| --------------------------------------------- not a struct, enum, or union
|
cannot find trait `Miniconf` in this scope:
src/iter.rs#L53
error[E0405]: cannot find trait `Miniconf` in this scope
--> src/iter.rs:53:9
|
53 | impl<M: Miniconf<Y> + SerDe<S, Y>, S, const L: usize, P: Write + Default, Y> Iterator
| ^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
1 + use crate::Miniconf;
|
|
cannot find trait `Miniconf` in this scope:
src/iter.rs#L35
error[E0405]: cannot find trait `Miniconf` in this scope
--> src/iter.rs:35:9
|
35 | impl<M: Miniconf<Y> + SerDe<S>, S, const L: usize, P, Y> MiniconfIter<M, S, L, P, Y> {
| ^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
1 + use crate::Miniconf;
|
|
`derive` may only be applied to `struct`s, `enum`s and `union`s:
src/option.rs#L35
error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s
--> src/option.rs:35:1
|
35 | / #[derive(
36 | | Clone,
37 | | Copy,
38 | | Default,
... |
46 | | serde::Deserialize,
47 | | )]
| |__^ not applicable here
48 | #[repr(transparent)]
49 | pub type Option<T> = core::option::Option<T>;
| --------------------------------------------- not a `struct`, `enum` or `union`
|
compile (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
style
Clippy had exited with the 101 exit code
|
compile (stable)
The operation was canceled.
|
documentation
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
|
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
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/
|
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 (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/
|
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
|
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/
|
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/
|