Skip to content

remove unused params and files #243

remove unused params and files

remove unused params and files #243

Triggered via push September 20, 2024 14:45
Status Failure
Total duration 31s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
mismatched types: web-app/src/lib.rs#L53
error[E0308]: mismatched types --> web-app/src/lib.rs:53:19 | 53 | .map(|(quran, explanations, location_count)| JsEncodeResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected a tuple with 2 elements, found one with 3 elements | expected due to this | = note: expected tuple `(std::string::String, std::vec::Vec<&str>)` found tuple `(_, _, _)`
this function takes 0 arguments but 1 argument was supplied: web-app/src/lib.rs#L39
error[E0061]: this function takes 0 arguments but 1 argument was supplied --> web-app/src/lib.rs:39:22 | 39 | _ => Quranize::new(min_harfs), | ^^^^^^^^^^^^^ --------- unexpected argument of type `u16` | note: associated function defined here --> /home/runner/work/quranize-rs/quranize-rs/quranize/src/quranize.rs:37:12 | 37 | pub fn new() -> Self { | ^^^ help: remove the extra argument | 39 - _ => Quranize::new(min_harfs), 39 + _ => Quranize::new(), |
rust-ci
Clippy had exited with the 101 exit code
rust-ci
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/
rust-ci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
rust-ci
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/
rust-ci
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/
rust-ci
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/
rust-ci
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/