LovecaSim / launcher /final_errors.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> final_errors.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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
error[E0308]: mismatched types
--> src\main.rs:609:79
|
609 | c["is_new"] = json!(p
.hand_added_turn.get(i).map(|&t| t as u
32 == gs.turn).unwrap_or(false));
|
^^^^^^^ expected `u32`, found `u1
6`
error[E0277]: can't compare `u32` with
`u16`
--> src\main.rs:609:76
|
609 | c["is_new"] = json!(p
.hand_added_turn.get(i).map(|&t| t as u
32 == gs.turn).unwrap_or(false));
|
^^ no implementation for `u32 == u16
`
|
= help: the trait `PartialEq<u16>`
is not implemented for `u32`
help: the following other types impleme
nt trait `PartialEq<Rhs>`
--> /rustc/254b59607d4417e9dffbc3071
38ae5c86280fe4c\library\core\src\cmp.rs
:1885:5
::: /rustc/254b59607d4417e9dffbc3071
38ae5c86280fe4c\library\core\src\cmp.rs
:1887:5
|
= note: `u32` implements `PartialEq
`
|
::: C:\Users\trios\.cargo\registry\s
rc\index.crates.io-1949cf8c6b5b557f\ser
de_json-1.0.149\src\value\partial_eq.rs
:97:1
|
97 | / partialeq_numeric! {
98 | | eq_i64[i8 i16 i32 i64 isize
]
99 | | eq_u64[u8 u16 u32 u64 usize
]
100 | | eq_f32[f32]
101 | | eq_f64[f64]
102 | | eq_bool[bool]
103 | | }
| |_^ `u32` implements `PartialEq<V
alue>`
= note: this error originates in th
e macro `partial_eq_impl` which comes f
rom the expansion of the macro `partial
eq_numeric` (in Nightly builds, run wit
h -Z macro-backtrace for more info)
Some errors have detailed explanations:
E0277, E0308, E0425.
For more information about an error, tr
y `rustc --explain E0277`.
warning: `loveca_launcher` (bin "loveca
_launcher") generated 1 warning
error: could not compile `loveca_launch
er` (bin "loveca_launcher") due to 3 pr
evious errors; 1 warning emitted