cargo rustc --manifest-path ./engine/Cargo.toml --bin tcheran --release -- -C target-cpu=native --emit link=Tcheran-3F879A6B
Compiling find-msvc-tools v0.1.12
Compiling shlex v2.0.1
Compiling cc v1.4.6
Compiling engine v14.0.0-dev (/private/var/folders/vj/wh6vw3vd3t509h3hnsgg6_lc0000gn/T/tmpnrq69xbx/Tcheran/Tcheran-tmp/engine)
warning: engine@14.0.0-dev: Fetched network: v25-fbb7eab6.nnue
error[E0599]: no method named `any` found for struct `CastleRights` in the current scope
--> engine/src/engine/tablebases/tablebases.rs:54:38
|
54 | if game.castle_rights[White].any() || game.castle_rights[Black].any() {
| ^^^ method not found in `CastleRights`
|
::: engine/src/chess/game.rs:47:1
|
47 | pub struct CastleRights {
| ----------------------- method `any` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `any`, perhaps you need to implement it:
candidate #1: `Iterator`
error[E0599]: no method named `any` found for struct `CastleRights` in the current scope
--> engine/src/engine/tablebases/tablebases.rs:54:73
|
54 | if game.castle_rights[White].any() || game.castle_rights[Black].any() {
| ^^^ method not found in `CastleRights`
|
::: engine/src/chess/game.rs:47:1
|
47 | pub struct CastleRights {
| ----------------------- method `any` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `any`, perhaps you need to implement it:
candidate #1: `Iterator`
For more information about this error, try `rustc --explain E0599`.
warning: engine@14.0.0-dev: Fetched network: v25-fbb7eab6.nnue
error: could not compile `engine` (lib) due to 2 previous errors
make: *** [build] Error 101