Skip to content

WIP: Static analysis with tree sitter #64

WIP: Static analysis with tree sitter

WIP: Static analysis with tree sitter #64

Triggered via pull request October 29, 2024 13:43
@stephlowstephlow
synchronize #320
tree-sitter
Status Failure
Total duration 2m 10s
Billable time 3m
Artifacts

build_cli.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
Create binary for x86_64-unknown-linux-gnu
Process completed with exit code 101.
Create binary for x86_64-unknown-linux-gnu
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Create binary for x86_64-unknown-linux-gnu: fpx/src/static_analysis/ast.rs#L28
[clippy] reported by reviewdog 🐶 warning: unused variable: `path` --> fpx/src/static_analysis/ast.rs:28:14 | 28 | for (path, identifiers) in imports { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` | = note: `#[warn(unused_variables)]` on by default Raw Output: fpx/src/static_analysis/ast.rs:28:14:w:warning: unused variable: `path` --> fpx/src/static_analysis/ast.rs:28:14 | 28 | for (path, identifiers) in imports { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` | = note: `#[warn(unused_variables)]` on by default __END__
Create binary for x86_64-unknown-linux-gnu: fpx/src/static_analysis/ast.rs#L30
[clippy] reported by reviewdog 🐶 warning: unused variable: `identifier` --> fpx/src/static_analysis/ast.rs:30:17 | 30 | for identifier in identifiers { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier` Raw Output: fpx/src/static_analysis/ast.rs:30:17:w:warning: unused variable: `identifier` --> fpx/src/static_analysis/ast.rs:30:17 | 30 | for identifier in identifiers { | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier` __END__
Create binary for x86_64-unknown-linux-gnu: fpx/src/static_analysis/ast.rs#L37
[clippy] reported by reviewdog 🐶 warning: unused variable: `handler` --> fpx/src/static_analysis/ast.rs:37:9 | 37 | for handler in &handlers { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` Raw Output: fpx/src/static_analysis/ast.rs:37:9:w:warning: unused variable: `handler` --> fpx/src/static_analysis/ast.rs:37:9 | 37 | for handler in &handlers { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` __END__
Create binary for x86_64-unknown-linux-gnu: fpx/src/static_analysis/detected_route.rs#L40
[clippy] reported by reviewdog 🐶 warning: this expression creates a reference which is immediately dereferenced by the compiler --> fpx/src/static_analysis/detected_route.rs:40:23 | 40 | Some(self.cmp(&other)) | ^^^^^^ help: change this to: `other` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default Raw Output: fpx/src/static_analysis/detected_route.rs:40:23:w:warning: this expression creates a reference which is immediately dereferenced by the compiler --> fpx/src/static_analysis/detected_route.rs:40:23 | 40 | Some(self.cmp(&other)) | ^^^^^^ help: change this to: `other` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default __END__