Skip to content

jsdoc typedefs

jsdoc typedefs #212

Triggered via pull request September 17, 2023 08:31
@BrendonovichBrendonovich
synchronize #141
js
Status Failure
Total duration 3m 4s
Artifacts

ci.yml

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

Annotations

17 errors and 4 warnings
build (macos-latest)
ENOENT: no such file or directory, opendir '/Users/runner/work/specta/specta/target/tests/target'
build (macos-latest)
Error: ENOENT: no such file or directory, opendir '/Users/runner/work/specta/specta/target/tests/target'
build (macos-latest)
ENOENT: no such file or directory, opendir '/Users/runner/work/specta/specta/target/tests/trybuild'
build (macos-latest)
Error: ENOENT: no such file or directory, opendir '/Users/runner/work/specta/specta/target/tests/trybuild'
build (macos-latest)
Process completed with exit code 101.
build (windows-latest)
The job was canceled because "macos-latest" failed.
build (windows-latest)
The operation was canceled.
build (windows-latest)
ENOENT: no such file or directory, opendir 'D:\a\specta\specta\target\tests\target'
build (windows-latest)
Error: ENOENT: no such file or directory, opendir 'D:\a\specta\specta\target\tests\target'
build (windows-latest)
ENOENT: no such file or directory, opendir 'D:\a\specta\specta\target\tests\trybuild'
build (windows-latest)
Error: ENOENT: no such file or directory, opendir 'D:\a\specta\specta\target\tests\trybuild'
build (ubuntu-latest)
The job was canceled because "macos-latest" failed.
build (ubuntu-latest)
The operation was canceled.
build (ubuntu-latest)
ENOENT: no such file or directory, opendir '/home/runner/work/specta/specta/target/tests/target'
build (ubuntu-latest)
Error: ENOENT: no such file or directory, opendir '/home/runner/work/specta/specta/target/tests/target'
build (ubuntu-latest)
ENOENT: no such file or directory, opendir '/home/runner/work/specta/specta/target/tests/trybuild'
build (ubuntu-latest)
Error: ENOENT: no such file or directory, opendir '/home/runner/work/specta/specta/target/tests/trybuild'
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: src/lang/js.rs#L38
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> src/lang/js.rs:38:20 | 38 | .chain(generics.into_iter()) | ^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `generics` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:522:12 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` implied by `#[warn(clippy::all)]`
useless use of `format!`: src/lang/js.rs#L28
warning: useless use of `format!` --> src/lang/js.rs:28:25 | 28 | .map(|generics| format!("{}", generics.join(", ")).into()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `generics.join(", ").to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format note: the lint level is defined here --> src/lib.rs:58:9 | 58 | #![warn(clippy::all, clippy::unwrap_used, clippy::panic)] // TODO: missing_docs | ^^^^^^^^^^^ = note: `#[warn(clippy::useless_format)]` implied by `#[warn(clippy::all)]`
constant `RESERVED_IDENTS` is never used: src/lang/js_ts/reserved_terms.rs#L66
warning: constant `RESERVED_IDENTS` is never used --> src/lang/js_ts/reserved_terms.rs:66:18 | 66 | pub(crate) const RESERVED_IDENTS: &[&str] = &[ | ^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/