trioskosmos's picture
Upload folder using huggingface_hub
463f868 verified
��uv : Checking engine_rust v0.1.2
(C:\Users\trios\.gemini\antigravity\v
scode\loveca-copy\engine_rust_src)
zvu4X@b L�:1 �eW[:1
+ uv run cargo check --manifest-path
engine_rust_src/Cargo.toml > check ..
.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpe
cified: ( Checking en...ngine
_rust_src):String) [], RemoteExc
eption
+ FullyQualifiedErrorId : Native
CommandError
error[E0425]: cannot find value `stat
e` in this scope
--> src\core\mcts.rs:606:82
|
606 | let p = if p_sum >
0.0 { p_exp[aid as usize] / p_sum } e
lse { 1.0 / (state.get_legal_action_i
ds(db).len() as f32) };
|
^^^^^ not found in this
scope
error[E0425]: cannot find type `Sessi
on` in this scope
--> src\py_bindings.rs:547:46
|
547 | session: std::sync::Arc<std
::sync::Mutex<Session>>,
|
^^^^^^^ not found in th
is scope
|
help: consider importing this struct
|
1 + use ort::session::Session;
|
error[E0433]: failed to resolve: use
of undeclared type `Session`
--> src\py_bindings.rs:556:23
|
556 | let session = Session::
builder()
| ^^^^^^^ u
se of undeclared type `Session`
|
help: consider importing this struct
|
1 + use ort::session::Session;
|
error[E0425]: cannot find type `PyNeu
ralMCTS` in this scope
--> src\py_bindings.rs:579:19
|
579 | m.add_class::<PyNeuralMCTS>
()?;
| ^^^^^^^^^^^^
not found in this scope
|
help: you might be missing a type par
ameter
|
573 | pub fn register_python_module<P
yNeuralMCTS>(m: &Bound<'_, PyModule>)
-> PyResult<()> {
| ++
++++++++++++
warning: unused imports: `Deserialize
` and `Serialize`
--> src\core\enums.rs:1:13
|
1 | use serde::{Deserialize, Serializ
e};
| ^^^^^^^^^^^ ^^^^^^^^
^
|
= note: `#[warn(unused_imports)]` (
part of `#[warn(unused)]`) on by defa
ult
warning: unused import: `HashSet`
--> src\core\logic.rs:6:33
|
6 | use std::collections::{HashMap, H
ashSet};
| ^
^^^^^^
warning: unused import: `rayon::prelu
de::*`
--> src\core\mcts.rs:9:5
|
9 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^^^^
warning: variable does not need to be
mutable
--> src\core\mcts.rs:444:22
|
444 | let (mut priors
, v) = self.evaluate(&state, db);
| ----^^^^^^
| |
| help: remo
ve this `mut`
|
= note: `#[warn(unused_mut)]` (pa
rt of `#[warn(unused)]`) on by defaul
t
Some errors have detailed explanation
s: E0425, E0433.
For more information about an error,
try `rustc --explain E0425`.
warning: `engine_rust` (lib) generate
d 4 warnings
error: could not compile `engine_rust
` (lib) due to 4 previous errors; 4 w
arnings emitted