Files
2026-02-15 19:37:27 +01:00

184 lines
9.5 KiB
Plaintext

cargo : Checking openclaw-manager v0.0.5
(D:\Ai\openclaw-manager\src-tauri)
At line:1 char:1
+ cargo check > check_output_2.txt 2>&1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (
Checking op...ager\src-tauri):String) [
], RemoteException
+ FullyQualifiedErrorId : NativeCommandErr
or
warning: unreachable expression
--> src\commands\diagnostics.rs:729:13
|
726 | ... return Err("Windows does not
support automatic terminal launch, please run
manually: openclaw channels login --channel
whatsapp".to_string());
| -------------------------------
-----------------------------------------------
-----------------------------------------------
---------------- any code following this
expression is unreachable
...
729 | ... Ok("WhatsApp login started in new
terminal window, please check the popup
terminal window and scan the QR
code".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unreachable expression
|
= note: `#[warn(unreachable_code)]` (part
of `#[warn(unused)]`) on by default
warning: function `send_test_message` is never
used
--> src\commands\diagnostics.rs:484:14
|
484 | pub async fn
send_test_message(channel_type: String,
target: String) -> Result<ChannelTestResult,
String> {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of
`#[warn(unused)]`) on by default
warning: struct `InstallProgress` is never
constructed
--> src\commands\installer.rs:33:12
|
33 | pub struct InstallProgress {
| ^^^^^^^^^^^^^^^
warning: function `get_node_version` is never
used
--> src\commands\process.rs:69:14
|
69 | pub async fn get_node_version() ->
Result<Option<String>, String> {
| ^^^^^^^^^^^^^^^^
warning: struct `OpenClawConfig` is never
constructed
--> src\models\config.rs:6:12
|
6 | pub struct OpenClawConfig {
| ^^^^^^^^^^^^^^
warning: struct `AgentsConfig` is never
constructed
--> src\models\config.rs:32:12
|
32 | pub struct AgentsConfig {
| ^^^^^^^^^^^^
warning: struct `AgentDefaults` is never
constructed
--> src\models\config.rs:40:12
|
40 | pub struct AgentDefaults {
| ^^^^^^^^^^^^^
warning: struct `AgentModelConfig` is never
constructed
--> src\models\config.rs:66:12
|
66 | pub struct AgentModelConfig {
| ^^^^^^^^^^^^^^^^
warning: struct `ModelsConfig` is never
constructed
--> src\models\config.rs:74:12
|
74 | pub struct ModelsConfig {
| ^^^^^^^^^^^^
warning: struct `ProviderConfig` is never
constructed
--> src\models\config.rs:82:12
|
82 | pub struct ProviderConfig {
| ^^^^^^^^^^^^^^
warning: struct `GatewayConfig` is never
constructed
--> src\models\config.rs:136:12
|
136 | pub struct GatewayConfig {
| ^^^^^^^^^^^^^
warning: struct `GatewayAuthConfig` is never
constructed
--> src\models\config.rs:147:12
|
147 | pub struct GatewayAuthConfig {
| ^^^^^^^^^^^^^^^^^
warning: struct `PluginsConfig` is never
constructed
--> src\models\config.rs:156:12
|
156 | pub struct PluginsConfig {
| ^^^^^^^^^^^^^
warning: struct `MetaConfig` is never
constructed
--> src\models\config.rs:191:12
|
191 | pub struct MetaConfig {
| ^^^^^^^^^^
warning: struct `EnvConfig` is never
constructed
--> src\models\config.rs:330:12
|
330 | pub struct EnvConfig {
| ^^^^^^^^^
warning: function `append_file` is never used
--> src\utils\file.rs:20:8
|
20 | pub fn append_file(path: &str, content:
&str) -> io::Result<()> {
| ^^^^^^^^^^^
warning: function `read_last_lines` is never
used
--> src\utils\file.rs:38:8
|
38 | pub fn read_last_lines(path: &str, n:
usize) -> io::Result<Vec<String>> {
| ^^^^^^^^^^^^^^^
warning: function `get_log_file_path` is never
used
--> src\utils\platform.rs:45:8
|
45 | pub fn get_log_file_path() -> String {
| ^^^^^^^^^^^^^^^^^
warning: function `run_script_output` is never
used
--> src\utils\shell.rs:211:8
|
211 | pub fn run_script_output(script: &str)
-> Result<String, String> {
| ^^^^^^^^^^^^^^^^^
warning: function `spawn_background` is never
used
--> src\utils\shell.rs:220:8
|
220 | pub fn spawn_background(script: &str) ->
io::Result<()> {
| ^^^^^^^^^^^^^^^^
warning: `openclaw-manager` (bin
"openclaw-manager") generated 20 warnings
Finished `dev` profile [unoptimized +
debuginfo] target(s) in 4.51s