LovecaSim / launcher /errors_2.log
trioskosmos's picture
Upload folder using huggingface_hub
3167e93 verified
��cargo : warning: unused imports: `Arc`
and `Mutex`
zvu4X@b L�:1 �eW[:1
+ cargo check 2> errors_2.log ; Get-Con
tent errors_2.log | Out-File -En ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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[E0425]: cannot find value `body`
in this scope
--> src\main.rs:408:92
|
404 | ... if let (Some(rid_raw), Ok(_
body)) = (room_id, parse_body::<AiSugge
stReq>(&mut request)) {
| -
---- `_body` defined here
...
408 | ... let suggestions = r
oom.state.get_mcts_suggestions(&state.c
ard_db, body.sims, SearchHorizon::GameE
nd, EvalMode::Normal);
|
^^^^
|
help: the leading underscore in `_body`
marks it as unused, consider renaming
it to `body`
|
404 - if let (Some(rid
_raw), Ok(_body)) = (room_id, parse_bod
y::<AiSuggestReq>(&mut request)) {
404 + if let (Some(rid
_raw), Ok(body)) = (room_id, parse_body
::<AiSuggestReq>(&mut request)) {
|
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};
|
^^^^^^^^^^ ^^^^^^^^
For more information about this error,
try `rustc --explain E0425`.
warning: `loveca_launcher` (bin "loveca
_launcher") generated 2 warnings
error: could not compile `loveca_launch
er` (bin "loveca_launcher") due to 1 pr
evious error; 2 warnings emitted