Merge pull request #53 from oscartbeaumont/language-specific-configs #79
Annotations
5 errors and 25 warnings
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 (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
build (ubuntu-latest)
The operation was canceled.
|
used `unwrap()` on a `Result` value:
src/lib.rs#L393
warning: used `unwrap()` on a `Result` value
--> src/lib.rs:393:50
|
393 | let (invoke_handler, event_collection) = self.export_inner().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: if you don't want to handle the `Err` case gracefully, consider using `expect()` to provide a better panic message
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:111:22
|
111 | #![warn(clippy::all, clippy::unwrap_used, clippy::panic
| ^^^^^^^^^^^^^^^^^^^
|
`panic` should not be present in production code:
src/event.rs#L81
warning: `panic` should not be present in production code
--> src/event.rs:81:28
|
81 | .unwrap_or_else(|| panic!("Event {name} not found in registry!"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic
|
`panic` should not be present in production code:
src/event.rs#L34
warning: `panic` should not be present in production code
--> src/event.rs:34:13
|
34 | panic!("Another event with name {} is already registered!", E::NAME)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic
|
`panic` should not be present in production code:
src/event.rs#L30
warning: `panic` should not be present in production code
--> src/event.rs:30:13
|
30 | panic!("Event {} registered twice!", E::NAME)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic
note: the lint level is defined here
--> src/lib.rs:111:43
|
111 | #![warn(clippy::all, clippy::unwrap_used, clippy::panic
| ^^^^^^^^^^^^^
|
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)]`
|
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/
|