Minor refactoring #7078
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: push
VimScript
28s
Rustfmt
24s
Clippy
1m 22s
Rust Tests
2m 26s
Rust Build
1m 20s
Docs Test
1m 48s
Python Dynamic Module
26s
Annotations
9 errors and 20 warnings
cannot find function `traverse_tree` in this scope:
tree_sitter/src/lib.rs#L248
error[E0425]: cannot find function `traverse_tree` in this scope
--> tree_sitter/src/lib.rs:248:40
|
248 | let postorder: Vec<Node<'_>> = traverse_tree(&tree, Order::Post).collect::<Vec<_>>();
| ^^^^^^^^^^^^^ not found in this scope
|
failed to resolve: use of undeclared type `Order`:
tree_sitter/src/lib.rs#L248
error[E0433]: failed to resolve: use of undeclared type `Order`
--> tree_sitter/src/lib.rs:248:61
|
248 | let postorder: Vec<Node<'_>> = traverse_tree(&tree, Order::Post).collect::<Vec<_>>();
| ^^^^^ use of undeclared type `Order`
|
cannot find function `traverse` in this scope:
tree_sitter/src/lib.rs#L247
error[E0425]: cannot find function `traverse` in this scope
--> tree_sitter/src/lib.rs:247:39
|
247 | let preorder: Vec<Node<'_>> = traverse(tree.walk(), Order::Pre).collect::<Vec<_>>();
| ^^^^^^^^ not found in this scope
|
failed to resolve: use of undeclared type `Order`:
tree_sitter/src/lib.rs#L247
error[E0433]: failed to resolve: use of undeclared type `Order`
--> tree_sitter/src/lib.rs:247:61
|
247 | let preorder: Vec<Node<'_>> = traverse(tree.walk(), Order::Pre).collect::<Vec<_>>();
| ^^^^^ use of undeclared type `Order`
|
you should consider adding a `Default` implementation for `SyntaxHighlighter`:
tree_sitter/src/lib.rs#L61
error: you should consider adding a `Default` implementation for `SyntaxHighlighter`
--> tree_sitter/src/lib.rs:61:5
|
61 | / pub fn new() -> Self {
62 | | Self {
63 | | highlighter: Highlighter::new(),
64 | | }
65 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
help: try adding this
|
60 + impl Default for SyntaxHighlighter {
61 + fn default() -> Self {
62 + Self::new()
63 + }
64 + }
|
|
failed to resolve: use of undeclared type `Parser`:
tree_sitter/src/lib.rs#L235
error[E0433]: failed to resolve: use of undeclared type `Parser`
--> tree_sitter/src/lib.rs:235:26
|
235 | let mut parser = Parser::new();
| ^^^^^^ use of undeclared type `Parser`
|
help: consider importing this struct
|
200 + use tree_sitter_core::Parser;
|
|
Clippy
Clippy had exited with the 101 exit code
|
Rust Tests
Process completed with exit code 101.
|
Rust Tests
Process completed with exit code 101.
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Python Dynamic Module
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
VimScript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
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/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
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
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
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
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/
|
Docs Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
Docs 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/
|
Docs 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/
|
Docs 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/
|
Docs 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/
|
Rust Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|