File size: 2,537 Bytes
3167e93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cargo : warning: unused imports: `Arc` 
and `Mutex`
発生場所 行:1 文字: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