From f7f2ea7901631db89d84e651acd2599cbf9493e7 Mon Sep 17 00:00:00 2001 From: baicaixiaozhan Date: Tue, 27 Jan 2026 21:38:24 +0800 Subject: [PATCH] chore: remove meaningless files --- src-tauri/build_errors.txt | 153 ------------------------- src-tauri/check_errors.txt | 223 ------------------------------------- stderr.txt | 0 stdout.txt | 0 4 files changed, 376 deletions(-) delete mode 100644 src-tauri/build_errors.txt delete mode 100644 src-tauri/check_errors.txt delete mode 100644 stderr.txt delete mode 100644 stdout.txt diff --git a/src-tauri/build_errors.txt b/src-tauri/build_errors.txt deleted file mode 100644 index 6806a33..0000000 --- a/src-tauri/build_errors.txt +++ /dev/null @@ -1,153 +0,0 @@ -cargo : Compiling dev-jan -itor-v2 v0.1.0 (C:\Users\818 -09\Desktop\娓呴亾澶玕Dev-Janitor\ -dev-janitor-v2\src-tauri) -所在位置 行:1 字符: 30 -+ cd dev-janitor-v2/src-taur -i; cargo build 2>&1 | Out-Fi -le -Encoding ut ... -+ - ~~~~~~~~~~~~~~~~ - + CategoryInfo - : NotSpecified: ( Co - mpiling de...r-v2\src-t - auri):String) [], Remot -eException - + FullyQualifiedErrorId - : NativeCommandError - -error: argument never used - --> src\detection\mod.rs: -520:17 - | -519 | "\\.py -env\\pyenv-win\\versions", - | ------ -------------------------- fo -rmatting specifier missing -520 | home - | ^^^^ a -rgument never used - | -help: format specifiers use -curly braces, consider addin -g a format specifier - | -519 | "\\.py -env\\pyenv-win\\versions{}", - | - ++ - -error[E0107]: type alias tak -es 1 generic argument but 2 -generic arguments were suppl -ied - --> src\error.rs:24:46 - | -24 | fn serialize(&se -lf, serializer: S) -> Result - - | - ^^^^^^ - ---------- help: remov -e the unnecessary generic ar -gument - | - | - | - expect -ed 1 generic argument - | -note: type alias defined her -e, with 1 generic parameter: - `T` - --> src\error.rs:32:10 - | -32 | pub type Result = st -d::result::Result; - | ^^^^^^ - - -error[E0053]: method `serial -ize` has an incompatible typ -e for trait - --> src\error.rs:24:46 - | -24 | fn serialize(&se -lf, serializer: S) -> Result - - | - ^^^^^^ -^^^^^^^^^^^^^^^^^ expected a -ssociated type, found `DevJa -nitorError` - | - = note: expected signatur -e `fn(&DevJanitorError, _) - -> std::result::Result<_, ::Error>` - found signatur -e `fn(&DevJanitorError, _) - -> std::result::Result<_, Dev -JanitorError>` -help: change the output type - to match the trait - | -24 - fn serialize(&se -lf, serializer: S) -> Result - -24 + fn serialize(&se -lf, serializer: S) -> std::r -esult::Result<::Ok, :: -Error> - | - -error[E0308]: mismatched typ -es - --> src\error.rs:28:9 - | -24 | fn serialize(&se -lf, serializer: S) -> Result - - | - ------ ------------------ expected ` -std::result::Result<::Ok, DevJanitorErr -or>` because of return type -... -28 | serializer.seri -alize_str(&self.to_string()) - | ^^^^^^^^^^^^^^^ -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - expected `DevJanitorError`, - found associated type - | - = note: expected enum `st -d::result::Result<_, DevJani -torError>` - found enum `st -d::result::Result<_, ::Error>` -help: consider constraining -the associated type `::Error` to `DevJa -nitorError` - | -26 | S: serde::Seria -lizer, - | - +++++++++++++++++++++++ -++ - -Some errors have detailed ex -planations: E0053, E0107, E0 -308. -For more information about a -n error, try `rustc --explai -n E0053`. -error: could not compile `de -v-janitor-v2` (lib) due to 4 - previous errors diff --git a/src-tauri/check_errors.txt b/src-tauri/check_errors.txt deleted file mode 100644 index d12a0ba..0000000 --- a/src-tauri/check_errors.txt +++ /dev/null @@ -1,223 +0,0 @@ -cargo : Checking dev-jan -itor-v2 v0.1.0 (C:\Users\818 -09\Desktop\娓呴亾澶玕Dev-Janitor\ -dev-janitor-v2\src-tauri) -所在位置 行:1 字符: 30 -+ cd dev-janitor-v2/src-taur -i; cargo check 2>&1 | Out-Fi -le -Encoding ut ... -+ - ~~~~~~~~~~~~~~~~ - + CategoryInfo - : NotSpecified: ( C - hecking de...r-v2\src-t - auri):String) [], Remot -eException - + FullyQualifiedErrorId - : NativeCommandError - -warning: unused import: `std -::process::Command` - --> src\package_manager\hom -ebrew.rs:4:5 - | -4 | use std::process::Comman -d; - | ^^^^^^^^^^^^^^^^^^^^ -^ - | - = note: `#[warn(unused_imp -orts)]` (part of `#[warn(unu -sed)]`) on by default - -warning: unused variable: `n -ame` - --> src\package_manager\ho -mebrew.rs:87:30 - | -87 | fn update_package(& -self, name: &str) -> Result< -String, String> { - | - ^^^^ help: if this is -intentional, prefix it with -an underscore: `_name` - | - = note: `#[warn(unused_va -riables)]` (part of `#[warn( -unused)]`) on by default - -warning: unused variable: `n -ame` - --> src\package_manager\h -omebrew.rs:100:33 - | -100 | fn uninstall_packa -ge(&self, name: &str) -> Res -ult { - | - ^^^^ help: if this - is intentional, prefix it w -ith an underscore: `_name` - -warning: enum `DevJanitorErr -or` is never used - --> src\error.rs:6:10 - | -6 | pub enum DevJanitorError - { - | ^^^^^^^^^^^^^^^ - | - = note: `#[warn(dead_code) -]` (part of `#[warn(unused)] -`) on by default - -warning: methods `name`, `is -_available`, and `get_versio -n` are never used - --> src\package_manager\mo -d.rs:27:8 - | -25 | pub trait PackageManage -r { - | ------------- -- methods in this trait -26 | /// Get the name of - this package manager -27 | fn name(&self) -> & -str; - | ^^^^ -... -30 | fn is_available(&se -lf) -> bool; - | ^^^^^^^^^^^^ -... -33 | fn get_version(&sel -f) -> Option; - | ^^^^^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\car -go.rs:8:5 - | -7 | pub struct CargoManager -{ - | ------------ -field in this struct -8 | version: String, - | ^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\com -poser.rs:8:5 - | -7 | pub struct ComposerManag -er { - | ------------- --- field in this struct -8 | version: String, - | ^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\con -da.rs:8:5 - | -7 | pub struct CondaManager -{ - | ------------ -field in this struct -8 | version: String, - | ^^^^^^^ - -warning: struct `HomebrewMan -ager` is never constructed - --> src\package_manager\hom -ebrew.rs:6:12 - | -6 | pub struct HomebrewManag -er { - | ^^^^^^^^^^^^^ -^^ - -warning: associated function - `new` is never used - --> src\package_manager\ho -mebrew.rs:25:12 - | -10 | impl HomebrewManager { - | -------------------- as -sociated function in this im -plementation -... -25 | pub fn new() -> Opt -ion { - | ^^^ - -warning: function `run_brew_ -command` is never used - --> src\package_manager\h -omebrew.rs:126:4 - | -126 | fn run_brew_command(_a -rgs: &[&str]) -> Option { - | ^^^^^^^^^^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\npm -.rs:8:5 - | -7 | pub struct NpmManager { - | ---------- fi -eld in this struct -8 | version: String, - | ^^^^^^^ - -warning: field `current` is -never read - --> src\package_manager\np -m.rs:23:5 - | -22 | struct NpmOutdatedPacka -ge { - | ---------------- --- field in this struct -23 | current: String, - | ^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\pip -.rs:8:5 - | -7 | pub struct PipManager { - | ---------- fi -eld in this struct -8 | version: String, - | ^^^^^^^ - -warning: field `version` is -never read - --> src\package_manager\pi -p.rs:21:5 - | -19 | struct PipOutdatedPacka -ge { - | ---------------- --- field in this struct -20 | name: String, -21 | version: String, - | ^^^^^^^ - -warning: `dev-janitor-v2` (l -ib) generated 15 warnings (r -un `cargo fix --lib -p dev-j -anitor-v2` to apply 3 sugges -tions) - Finished `dev` profile [ -unoptimized + debuginfo] tar -get(s) in 3.09s diff --git a/stderr.txt b/stderr.txt deleted file mode 100644 index e69de29..0000000 diff --git a/stdout.txt b/stdout.txt deleted file mode 100644 index e69de29..0000000