Build support for the TypeScript target #52
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Clippy Output
failed
Sep 10, 2023 in 0s
Clippy Output
2 errors, 1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0 (5680fa18f 2023-08-23)
- cargo 1.72.0 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (5680fa1 2023-08-23)
Annotations
Check warning on line 10 in src/backends/npm.rs
github-actions / Clippy Output
unused import: `BuildResult`
warning: unused import: `BuildResult`
--> src/backends/npm.rs:10:73
|
10 | BatchBackend, BatchBuildResults, BuildCommandOptions, BuildProfile, BuildResult, CommandSpec,
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check failure on line 36 in src/backends/npm.rs
github-actions / Clippy Output
cannot find value `cmd` in this scope
error[E0425]: cannot find value `cmd` in this scope
--> src/backends/npm.rs:36:46
|
36 | let mut npm_build = Command::new(cmd);
| ^^^
|
help: the binding `cmd` is available in a different scope in the same function
--> src/backends/npm.rs:21:21
|
21 | let mut cmd = "npm";
| ^^^
Check failure on line 32 in src/backends/npm.rs
github-actions / Clippy Output
expected value, found module `self`
error[E0424]: expected value, found module `self`
--> src/backends/npm.rs:32:37
|
13 | fn do_npm_build(results: &mut BatchBuildResults, options: &BuildCommandOptions) {
| ------------ this function can't have a `self` parameter
...
32 | npm_install.current_dir(self.lfc.out.display().to_string());
| ^^^^ `self` value is a keyword only available in methods with a `self` parameter
Loading