Skip to content

make collect_commands a proc macro to support generic commands #88

make collect_commands a proc macro to support generic commands

make collect_commands a proc macro to support generic commands #88

Triggered via pull request October 5, 2023 05:00
Status Failure
Total duration 1m 50s
Artifacts

ci.yml

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

Annotations

10 errors and 23 warnings
cannot find type `ExportError` in this scope: src/js.rs#L114
error[E0412]: cannot find type `ExportError` in this scope --> src/js.rs:114:25 | 114 | ) -> Result<String, ExportError> { | ^^^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::js::ts::ExportError; | 1 + use specta::ts::ExportError; |
cannot find type `ExportError` in this scope: src/js.rs#L81
error[E0412]: cannot find type `ExportError` in this scope --> src/js.rs:81:25 | 81 | ) -> Result<String, ExportError> { | ^^^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::js::ts::ExportError; | 1 + use specta::ts::ExportError; |
cannot find type `ExportError` in this scope: src/js.rs#L66
error[E0412]: cannot find type `ExportError` in this scope --> src/js.rs:66:39 | 66 | .collect::<Result<Vec<_>, ExportError>>()? | ^^^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::js::ts::ExportError; | 1 + use specta::ts::ExportError; |
cannot find type `ExportError` in this scope: src/js.rs#L33
error[E0412]: cannot find type `ExportError` in this scope --> src/js.rs:33:25 | 33 | ) -> Result<String, ExportError> { | ^^^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use crate::js::ts::ExportError; | 1 + use specta::ts::ExportError; |
clippy
Clippy had exited with the 101 exit code
build (ubuntu-latest)
Process completed with exit code 101.
build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
build (windows-latest)
The operation was canceled.
build (macos-latest)
The job was canceled because "ubuntu-latest" failed.
build (macos-latest)
The operation was canceled.
using tabs in doc comments is not recommended: src/lib.rs#L98
warning: using tabs in doc comments is not recommended --> src/lib.rs:98:4 | 98 | //! .unwrap(); | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L97
warning: using tabs in doc comments is not recommended --> src/lib.rs:97:4 | 97 | //! .export() | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L96
warning: using tabs in doc comments is not recommended --> src/lib.rs:96:4 | 96 | //! .path("../src/bindings.js") | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L95
warning: using tabs in doc comments is not recommended --> src/lib.rs:95:4 | 95 | //! .commands(collect_commands![greet, greet2, greet3]) | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L94
warning: using tabs in doc comments is not recommended --> src/lib.rs:94:4 | 94 | //! js::builder() | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L92
warning: using tabs in doc comments is not recommended --> src/lib.rs:92:4 | 92 | //! .unwrap(); | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L91
warning: using tabs in doc comments is not recommended --> src/lib.rs:91:4 | 91 | //! .export() | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L90
warning: using tabs in doc comments is not recommended --> src/lib.rs:90:4 | 90 | //! .path("../src/bindings.ts") | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L89
warning: using tabs in doc comments is not recommended --> src/lib.rs:89:4 | 89 | //! .commands(collect_commands![greet, greet2, greet3]) | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L88
warning: using tabs in doc comments is not recommended --> src/lib.rs:88:4 | 88 | //! ts::builder() | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L83
warning: using tabs in doc comments is not recommended --> src/lib.rs:83:4 | 83 | //! .unwrap(); | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L82
warning: using tabs in doc comments is not recommended --> src/lib.rs:82:4 | 82 | //! .export() | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L81
warning: using tabs in doc comments is not recommended --> src/lib.rs:81:4 | 81 | //! .path("../src/bindings.js") | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L80
warning: using tabs in doc comments is not recommended --> src/lib.rs:80:4 | 80 | //! .commands(collect_commands![greet, greet2, greet3]) | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L79
warning: using tabs in doc comments is not recommended --> src/lib.rs:79:4 | 79 | //! js::builder() | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L75
warning: using tabs in doc comments is not recommended --> src/lib.rs:75:4 | 75 | //! .unwrap(); | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L74
warning: using tabs in doc comments is not recommended --> src/lib.rs:74:4 | 74 | //! .export() | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L73
warning: using tabs in doc comments is not recommended --> src/lib.rs:73:4 | 73 | //! .path("../src/bindings.ts") | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L72
warning: using tabs in doc comments is not recommended --> src/lib.rs:72:4 | 72 | //! .commands(collect_commands![greet, greet2, greet3]) | ^^^^^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
using tabs in doc comments is not recommended: src/lib.rs#L71
warning: using tabs in doc comments is not recommended --> src/lib.rs:71:4 | 71 | //! ts::builder() | ^^^^^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments note: the lint level is defined here --> src/lib.rs:111:9 | 111 | #![warn(clippy::all, clippy::unwrap_used, clippy::panic | ^^^^^^^^^^^ = note: `#[warn(clippy::tabs_in_doc_comments)]` implied by `#[warn(clippy::all)]`
unused imports: `ItemStruct`, `bracketed`: macros/src/collect_commands.rs#L4
warning: unused imports: `ItemStruct`, `bracketed` --> macros/src/collect_commands.rs:4:5 | 4 | bracketed, | ^^^^^^^^^ ... 8 | ItemStruct, Path, Token, | ^^^^^^^^^^
unused import: `TokenStream`: macros/src/collect_commands.rs#L1
warning: unused import: `TokenStream` --> macros/src/collect_commands.rs:1:26 | 1 | use proc_macro2::{Ident, TokenStream}; | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` 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/