fix: correct server args #2
Annotations
1 error and 21 warnings
Run linters (windows-latest)
Error parsing clippy JSON output: Expected ',' or ']' after array element in JSON at position 171. Output: "{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#[email protected]","manifest_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\cfg-if-1.0.0\\Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"cfg_if","src_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\cfg-if-1.0.0\\src\\lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libcfg_if-62a6993daf48d67c.rmeta"],"executable":null,"fresh":false}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#[email protected]","manifest_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\unicode-ident-1.0.12\\Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unicode_ident","src_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\unicode-ident-1.0.12\\src\\lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libunicode_ident-24a3c9bb329083fa.rlib","D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libunicode_ident-24a3c9bb329083fa.rmeta"],"executable":null,"fresh":false}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#[email protected]","manifest_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\version_check-0.9.4\\Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"version_check","src_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\version_check-0.9.4\\src\\lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libversion_check-9479095b9b052c9a.rlib","D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libversion_check-9479095b9b052c9a.rmeta"],"executable":null,"fresh":false}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#[email protected]","manifest_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\autocfg-1.3.0\\Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\autocfg-1.3.0\\src\\lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libautocfg-ada1ca837f4d17f1.rlib","D:\\a\\nyanpasu-service\\nyanpasu-service\\target\\debug\\deps\\libautocfg-ada1ca837f4d17f1.rmeta"],"executable":null,"fresh":false}
{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#[email protected]","manifest_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\once_cell-1.19.0\\Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"once_cell","src_path":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\once_cell-1.19.0\\src\\lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","race","std"],"filenames":["D:\
|
nyanpasu_service/src/server/instance.rs#L4
unused imports: `borrow::Cow` and `string`
|
nyanpasu_service/src/cmds/mod.rs#L91
unreachable pattern
|
nyanpasu_service/src/utils/os/user.rs#L7
mismatched types
|
nyanpasu_service/src/server/instance.rs#L4
unused imports: `borrow::Cow` and `string`
|
nyanpasu_service/src/cmds/mod.rs#L91
unreachable pattern
|
nyanpasu_service/src/utils/os/user.rs#L7
mismatched types
|
Run linters (ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, wearerequired/lint-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
nyanpasu_service/src/cmds/mod.rs#L91
unreachable pattern
|
nyanpasu_service/src/server/consts.rs#L3
fields `service_data_dir`, `service_config_dir`, `nyanpasu_config_dir`, and `nyanpasu_data_dir` are never read
|
nyanpasu_service/src/server/routing/mod.rs#L7
function `apply_routes` is never used
|
nyanpasu_service/src/server/routing/status.rs#L10
function `status` is never used
|
nyanpasu_service/src/utils/mod.rs#L7
function `get_name` is never used
|
nyanpasu_service/src/server/consts.rs#L17
unused `std::result::Result` that must be used
|
nyanpasu_service/src/cmds/mod.rs#L91
unreachable pattern
|
nyanpasu_service/src/server/consts.rs#L3
fields `service_data_dir`, `service_config_dir`, `nyanpasu_config_dir`, and `nyanpasu_data_dir` are never read
|
nyanpasu_service/src/server/routing/mod.rs#L7
function `apply_routes` is never used
|
nyanpasu_service/src/server/routing/status.rs#L10
function `status` is never used
|
nyanpasu_service/src/utils/mod.rs#L7
function `get_name` is never used
|
nyanpasu_service/src/server/consts.rs#L17
unused `std::result::Result` that must be used
|
Run linters (macos-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, wearerequired/lint-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run linters (windows-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, wearerequired/lint-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|