Skip to content

Fix build for Android (#1079) #51

Fix build for Android (#1079)

Fix build for Android (#1079) #51

Triggered via push May 10, 2024 02:54
Status Success
Total duration 1m 58s
Artifacts

docs.yml

on: push
Build, Test and Deploy
1m 50s
Build, Test and Deploy
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 7 warnings
assigning the result of `ToOwned::to_owned()` may be inefficient: crates/maple_core/src/tools/ctags/buffer_tag.rs#L76
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> crates/maple_core/src/tools/ctags/buffer_tag.rs:76:13 | 76 | t.pattern = tagaddress.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `tagaddress.clone_into(&mut t.pattern)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: crates/maple_core/src/stdio_server/provider/impls/igrep.rs#L284
error: assigning the result of `Clone::clone()` may be inefficient --> crates/maple_core/src/stdio_server/provider/impls/igrep.rs:284:9 | 284 | self.current_dir = dir.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.current_dir.clone_from(&dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: crates/maple_core/src/stdio_server/provider/impls/igrep.rs#L113
error: assigning the result of `Clone::clone()` may be inefficient --> crates/maple_core/src/stdio_server/provider/impls/igrep.rs:113:13 | 113 | self.current_lines = entries.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.current_lines.clone_from(&entries)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: crates/maple_core/src/stdio_server/provider/impls/grep.rs#L56
error: assigning the result of `Clone::clone()` may be inefficient --> crates/maple_core/src/stdio_server/provider/impls/grep.rs:56:13 | 56 | search_context.paths = self.args.paths.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `search_context.paths.clone_from(&self.args.paths)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: crates/maple_core/src/stdio_server/provider/impls/files.rs#L82
error: assigning the result of `Clone::clone()` may be inefficient --> crates/maple_core/src/stdio_server/provider/impls/files.rs:82:21 | 82 | search_context.paths = self.args.paths.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `search_context.paths.clone_from(&self.args.paths)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: crates/maple_core/src/stdio_server/provider/impls/filer.rs#L303
error: assigning the result of `Clone::clone()` may be inefficient --> crates/maple_core/src/stdio_server/provider/impls/filer.rs:303:9 | 303 | self.current_dir = dir.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `self.current_dir.clone_from(&dir)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `-D clippy::assigning-clones` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`
empty doc comment: crates/maple_core/src/find_usages/search_engine/mod.rs#L27
error: empty doc comment --> crates/maple_core/src/find_usages/search_engine/mod.rs:27:5 | 27 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs = note: `-D clippy::empty-docs` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_docs)]`
Build, Test and Deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, JamesIves/github-pages-deploy-action@4.1.7. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build, Test and Deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, JamesIves/github-pages-deploy-action@4.1.7. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build, Test and Deploy
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/
Build, Test and Deploy
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/
Build, Test and Deploy
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/
Build, Test and Deploy
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/
Build, Test and Deploy
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/