Skip to content

test coverage action #5822

test coverage action

test coverage action #5822

Triggered via pull request March 11, 2024 16:50
@laurcilaurci
synchronize #1471
test-coverage
Status Failure
Total duration 12m 4s
Artifacts 2

actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Test Coverage
Process completed with exit code 100.
Test Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
[clippy] tools/coverage-renderer/src/cargo.rs#L7: tools/coverage-renderer/src/cargo.rs#L7
warning: the borrowed expression implements the required traits --> tools/coverage-renderer/src/cargo.rs:7:15 | 7 | .args(&["metadata", "--no-deps", "--format-version=1"]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["metadata", "--no-deps", "--format-version=1"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
[clippy] tools/coverage-renderer/src/cargo.rs#L7: tools/coverage-renderer/src/cargo.rs#L7
warning: the borrowed expression implements the required traits --> tools/coverage-renderer/src/cargo.rs:7:15 | 7 | .args(&["metadata", "--no-deps", "--format-version=1"]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["metadata", "--no-deps", "--format-version=1"]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
[clippy] tools/coverage-renderer/src/main.rs#L20: tools/coverage-renderer/src/main.rs#L20
warning: called `skip(..).next()` on an iterator --> tools/coverage-renderer/src/main.rs:20:26 | 20 | let input_path = args.skip(1).next().unwrap(); | ^^^^^^^^^^^^^^^ help: use `nth` instead: `.nth(1)` | help: for this change `args` has to be mutable --> tools/coverage-renderer/src/main.rs:12:9 | 12 | let args = env::args(); | ^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next = note: `#[warn(clippy::iter_skip_next)]` on by default
[clippy] tools/coverage-renderer/src/main.rs#L21: tools/coverage-renderer/src/main.rs#L21
warning: the borrowed expression implements the required traits --> tools/coverage-renderer/src/main.rs:21:41 | 21 | let input = std::fs::read_to_string(&input_path)?; | ^^^^^^^^^^^ help: change this to: `input_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
[clippy] tools/coverage-renderer/src/main.rs#L20: tools/coverage-renderer/src/main.rs#L20
warning: called `skip(..).next()` on an iterator --> tools/coverage-renderer/src/main.rs:20:26 | 20 | let input_path = args.skip(1).next().unwrap(); | ^^^^^^^^^^^^^^^ help: use `nth` instead: `.nth(1)` | help: for this change `args` has to be mutable --> tools/coverage-renderer/src/main.rs:12:9 | 12 | let args = env::args(); | ^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next = note: `#[warn(clippy::iter_skip_next)]` on by default
[clippy] tools/coverage-renderer/src/main.rs#L21: tools/coverage-renderer/src/main.rs#L21
warning: the borrowed expression implements the required traits --> tools/coverage-renderer/src/main.rs:21:41 | 21 | let input = std::fs::read_to_string(&input_path)?; | ^^^^^^^^^^^ help: change this to: `input_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Clippy linter check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Rust tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Wasm tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3, dawidd6/action-download-artifact@v2, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
report Expired
97.6 KB
report-markdown Expired
6.17 KB