Skip to content

Build support for the TypeScript target #52

Build support for the TypeScript target

Build support for the TypeScript target #52

Triggered via pull request September 10, 2023 06:10
@jesslin02jesslin02
synchronize #16
typescript
Status Failure
Total duration 54s
Artifacts

check-and-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 18 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Check: src/backends/npm.rs#L32
expected value, found module `self`
Check: src/backends/npm.rs#L36
cannot find value `cmd` in this scope
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
cannot find value `cmd` in this scope: src/backends/npm.rs#L36
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"; | ^^^
expected value, found module `self`: src/backends/npm.rs#L32
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
Clippy
Clippy had exited with the 101 exit code
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check: src/backends/npm.rs#L10
unused import: `BuildResult`
Check
`lingo` (bin "lingo") generated 1 warning
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unused import: `BuildResult`: src/backends/npm.rs#L10
warning: unused import: `BuildResult` --> src/backends/npm.rs:10:73 | 10 | BatchBackend, BatchBuildResults, BuildCommandOptions, BuildProfile, BuildResult, CommandSpec, | ^^^^^^^^^^^ | = 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/checkout@v2, actions-rs/toolchain@v1, 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/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/