cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release --no-default-features --features release -- -C target-cpu=native --emit link=Tcheran-DAAAAAE7-B1CA130B
Compiling find-msvc-tools v0.1.4
Compiling shlex v1.3.0
Compiling cc v1.2.41
Compiling engine v8.0.0 (/private/var/folders/q9/689ggn5j5hz33d1m286cngw40000gn/T/tmpzutgxm10/Tcheran/Tcheran-tmp/engine)
error[E0433]: failed to resolve: use of undeclared type `PieceKind`
--> engine/src/engine/search/tables.rs:103:47
|
103 | pub struct ContHistTable([[[[i16; Square::N]; PieceKind::N]; Square::N]; PieceKind::N]);
| ^^^^^^^^^ use of undeclared type `PieceKind`
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0433]: failed to resolve: use of undeclared type `PieceKind`
--> engine/src/engine/search/tables.rs:103:74
|
103 | pub struct ContHistTable([[[[i16; Square::N]; PieceKind::N]; Square::N]; PieceKind::N]);
| ^^^^^^^^^ use of undeclared type `PieceKind`
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0433]: failed to resolve: use of undeclared type `PieceKind`
--> engine/src/engine/search/tables.rs:109:33
|
109 | Self([[[[0; Square::N]; PieceKind::N]; Square::N]; PieceKind::N])
| ^^^^^^^^^ use of undeclared type `PieceKind`
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0433]: failed to resolve: use of undeclared type `PieceKind`
--> engine/src/engine/search/tables.rs:109:60
|
109 | Self([[[[0; Square::N]; PieceKind::N]; Square::N]; PieceKind::N])
| ^^^^^^^^^ use of undeclared type `PieceKind`
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:114:31
|
114 | previous_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:116:31
|
116 | response_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:127:31
|
127 | previous_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:129:31
|
129 | response_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:140:31
|
140 | previous_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:142:31
|
142 | response_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:158:31
|
158 | previous_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
error[E0412]: cannot find type `PieceKind` in this scope
--> engine/src/engine/search/tables.rs:160:31
|
160 | response_piece_moved: PieceKind,
| ^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
7 + use crate::chess::piece::PieceKind;
|
Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `engine` (lib) due to 12 previous errors
make: *** [openbench] Error 101