Spaces:
Running
Running
| cargo : warning: unused imports: `Arc` | |
| and `Mutex` | |
| 発生場所 行:1 文字:1 | |
| + cargo check 2> errors.log ; Get-Conte | |
| nt errors.log | Out-File -Encodi ... | |
| + ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| + CategoryInfo : NotSpeci | |
| fied: (warning: unused...rc` and ` | |
| Mutex`:String) [], RemoteException | |
| + FullyQualifiedErrorId : NativeCo | |
| mmandError | |
| --> C:\Users\trios\.gemini\antigravit | |
| y\vscode\loveca-copy\engine_rust_src\sr | |
| c\core\mcts.rs:18:17 | |
| | | |
| 18 | use std::sync::{Arc, Mutex}; | |
| | ^^^ ^^^^^ | |
| | | |
| = note: `#[warn(unused_imports)]` (p | |
| art of `#[warn(unused)]`) on by default | |
| warning: `engine_rust` (lib) generated | |
| 1 warning (run `cargo fix --lib -p engi | |
| ne_rust` to apply 1 suggestion) | |
| Checking loveca_launcher v0.1.0 (C: | |
| \Users\trios\.gemini\antigravity\vscode | |
| \loveca-copy\launcher) | |
| error[E0428]: the name `get_local_ip` i | |
| s defined multiple times | |
| --> src\main.rs:468:1 | |
| | | |
| 153 | fn get_local_ip() -> Result<Strin | |
| g, ()> { | |
| | --------------------------------- | |
| ------ previous definition of the value | |
| `get_local_ip` here | |
| ... | |
| 468 | fn get_local_ip() -> Result<Strin | |
| g, ()> { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| ^^^^^^ `get_local_ip` redefined here | |
| | | |
| = note: `get_local_ip` must be defi | |
| ned only once in the value namespace of | |
| this module | |
| warning: unused import: `Serialize` | |
| --> src\main.rs:8:26 | |
| | | |
| 8 | use serde::{Deserialize, Serialize} | |
| ; | |
| | ^^^^^^^^^ | |
| | | |
| = note: `#[warn(unused_imports)]` (pa | |
| rt of `#[warn(unused)]`) on by default | |
| warning: unused imports: `LiveCard` and | |
| `MemberCard` | |
| --> src\main.rs:14:78 | |
| | | |
| 14 | use engine_rust::core::models::{Ga | |
| meState, CardDatabase, Phase, PlayerSta | |
| te, MemberCard, LiveCard}; | |
| | | |
| ^^^^^^^^^^ ^^^^^^^^ | |
| error[E0609]: no field `original_text` | |
| on type `&MemberCard` | |
| --> src\main.rs:594:56 | |
| | | |
| 594 | "text": m.ability_tex | |
| t, "original_text": m.original_text | |
| | | |
| ^^^^^^^^^^^^^ unk | |
| nown field | |
| | | |
| = note: available fields are: `card | |
| _id`, `card_no`, `name`, `cost`, `heart | |
| s` ... and 14 others | |
| error[E0609]: no field `original_text` | |
| on type `&LiveCard` | |
| --> src\main.rs:600:56 | |
| | | |
| 600 | "text": l.ability_tex | |
| t, "original_text": l.original_text | |
| | | |
| ^^^^^^^^^^^^^ unk | |
| nown field | |
| | | |
| = note: available fields are: `card | |
| _id`, `card_no`, `name`, `score`, `requ | |
| ired_hearts` ... and 10 others | |
| warning: unused variable: `body` | |
| --> src\main.rs:403:43 | |
| | | |
| 403 | if let (Some(rid_ | |
| raw), Ok(body)) = (room_id, parse_body: | |
| :<SetDeckReq>(&mut request)) { | |
| | | |
| ^^^^ help: if this is intentio | |
| nal, prefix it with an underscore: `_bo | |
| dy` | |
| | | |
| = note: `#[warn(unused_variables)]` | |
| (part of `#[warn(unused)]`) on by defa | |
| ult | |
| warning: value assigned to `response_js | |
| on` is never read | |
| --> src\main.rs:194:33 | |
| | | |
| 194 | let mut response_json = S | |
| tring::new(); | |
| | ^ | |
| ^^^^^^^^^^^^ | |
| | | |
| = help: maybe it is overwritten bef | |
| ore being read? | |
| = note: `#[warn(unused_assignments) | |
| ]` (part of `#[warn(unused)]`) on by de | |
| fault | |
| Some errors have detailed explanations: | |
| E0428, E0609. | |
| For more information about an error, tr | |
| y `rustc --explain E0428`. | |
| warning: `loveca_launcher` (bin "loveca | |
| _launcher") generated 4 warnings | |
| error: could not compile `loveca_launch | |
| er` (bin "loveca_launcher") due to 3 pr | |
| evious errors; 4 warnings emitted | |