trioskosmos's picture
Upload folder using huggingface_hub
463f868 verified
��uv : ^�� Found pyo3 bindings with abi3
support
zvu4X@b L�:1 �eW[:1
+ uv run maturin develop --manifest-p
ath engine_rust_src/Cargo.toml > b ..
.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpe
cified: (^�� Found pyo3 bindings
with abi3 support:String) [], Re
moteException
+ FullyQualifiedErrorId : Native
CommandError
Audited 1 package in 6ms
Compiling engine_rust v0.1.2 (C:\U
sers\trios\.gemini\antigravity\vscode
\loveca-copy\engine_rust_src)
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::*;
| ^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> src\core\mcts.rs:689:48
|
689 | let _ = rollou
t_state.step(db, a);
|
---- ^ expected `i32`, fo
und `u32`
|
|
|
arguments to this method are
incorrect
|
note: method defined here
--> src\core\logic.rs:1836:12
|
1836 | pub fn step(&mut self, db:
&CardDatabase, action: i32) -> Resul
t<(), String> {
| ^^^^
-----------
help: you can convert a `u32` to an `
i32` and panic if the converted value
doesn't fit
|
689 | let _ = rollou
t_state.step(db, a.try_into().unwrap(
));
|
+++++++++++++++++++
+
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
For more information about this error
, try `rustc --explain E0308`.
warning: `engine_rust` (lib) generate
d 4 warnings
error: could not compile `engine_rust
` (lib) due to 1 previous error; 4 wa
rnings emitted
^�_ maturin failed
Caused by: Failed to build a native
library through cargo
Caused by: Cargo build finished wit
h "exit code: 101": `"cargo" "rustc"
"--message-format" "json-render-diagn
ostics" "--manifest-path" "C:\\Users\
\trios\\.gemini\\antigravity\\vscode\
\loveca-copy\\engine_rust_src\\Cargo.
toml" "--lib" "--crate-type" "cdylib"
`