Skip to content

feat: print config errors for users #62

feat: print config errors for users

feat: print config errors for users #62

Triggered via push May 25, 2024 14:37
Status Failure
Total duration 1m 33s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
no method named `render_bar` found for enum `std::result::Result` in the current scope: benches/benches.rs#L56
error[E0599]: no method named `render_bar` found for enum `std::result::Result` in the current scope --> benches/benches.rs:56:33 | 56 | b.iter(|| module_config.render_bar(state.clone(), widgets.clone())) | ^^^^^^^^^^ method not found in `Result<ModuleConfig, anyError>` | note: the method `render_bar` exists on the type `zjstatus::config::ModuleConfig` --> /home/runner/work/zjstatus/zjstatus/src/config.rs:286:5 | 286 | / pub fn render_bar( 287 | | &mut self, 288 | | state: ZellijState, 289 | | widget_map: BTreeMap<String, Arc<dyn Widget>>, 290 | | ) -> String { | |_______________^ help: consider using `Result::expect` to unwrap the `zjstatus::config::ModuleConfig` value, panicking if the value is a `Result::Err` | 56 | b.iter(|| module_config.expect("REASON").render_bar(state.clone(), widgets.clone())) | +++++++++++++++++
clippy_check
Clippy had exited with the 101 exit code
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
clippy_check
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/
clippy_check
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/
clippy_check
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/
clippy_check
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/
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
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/
tests
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/
tests
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/
tests
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/