Skip to content

remove newtypes in favor of Miniconf<{Leaf,Internal}> #429

remove newtypes in favor of Miniconf<{Leaf,Internal}>

remove newtypes in favor of Miniconf<{Leaf,Internal}> #429

Triggered via pull request July 25, 2023 15:01
@jordensjordens
synchronize #150
rj/inner
Status Failure
Total duration 2m 5s
Artifacts

ci.yml

on: pull_request
Matrix: compile
Matrix: examples
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 33 warnings
compile (stable)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
compile (beta)
The operation was canceled.
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>; | +++
style
Clippy had exited with the 101 exit code
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 (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/
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/
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
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/
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/