feat: add deno support #2946
Annotations
5 errors and 12 warnings
non-exhaustive patterns: `&info::packages_nodejs::PackageManager::Deno` not covered:
src/info/packages_nodejs.rs#L32
error[E0004]: non-exhaustive patterns: `&info::packages_nodejs::PackageManager::Deno` not covered
--> src/info/packages_nodejs.rs:32:13
|
32 | match self {
| ^^^^ pattern `&info::packages_nodejs::PackageManager::Deno` not covered
|
note: `info::packages_nodejs::PackageManager` defined here
--> src/info/packages_nodejs.rs:18:6
|
18 | enum PackageManager {
| ^^^^^^^^^^^^^^
...
23 | Deno,
| ---- not covered
= note: the matched value is of type `&info::packages_nodejs::PackageManager`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
38 ~ PackageManager::Bun => "bun",
39 ~ &info::packages_nodejs::PackageManager::Deno => todo!(),
|
|
unreachable pattern:
src/info/packages_nodejs.rs#L38
error: unreachable pattern
--> src/info/packages_nodejs.rs:38:9
|
38 | PackageManager::Bun => "bun",
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D unreachable-patterns` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
|
non-exhaustive patterns: `&info::packages_nodejs::PackageManager::Deno` not covered:
src/info/packages_nodejs.rs#L32
error[E0004]: non-exhaustive patterns: `&info::packages_nodejs::PackageManager::Deno` not covered
--> src/info/packages_nodejs.rs:32:13
|
32 | match self {
| ^^^^ pattern `&info::packages_nodejs::PackageManager::Deno` not covered
|
note: `info::packages_nodejs::PackageManager` defined here
--> src/info/packages_nodejs.rs:18:6
|
18 | enum PackageManager {
| ^^^^^^^^^^^^^^
...
23 | Deno,
| ---- not covered
= note: the matched value is of type `&info::packages_nodejs::PackageManager`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
38 ~ PackageManager::Bun => "bun",
39 ~ &info::packages_nodejs::PackageManager::Deno => todo!(),
|
|
unreachable pattern:
src/info/packages_nodejs.rs#L38
error: unreachable pattern
--> src/info/packages_nodejs.rs:38:9
|
38 | PackageManager::Bun => "bun",
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D unreachable-patterns` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
|
clippy
Clippy had exited with the 101 exit code
|
fmt
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/
|
fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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 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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
|