cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release --no-default-features --features release -- -C target-cpu=native --emit link=Tcheran-555493BA-B1CA130B
   Compiling find-msvc-tools v0.1.4
   Compiling shlex v1.3.0
   Compiling cc v1.2.41
   Compiling engine v8.0.0 (/tmp/tmphvzzzgxt/Tcheran/Tcheran-tmp/engine)
error[E0433]: failed to resolve: use of undeclared type `PieceKind`
   --> engine/src/engine/search/tables.rs:122:47
    |
122 | 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:122:74
    |
122 | 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:128:33
    |
128 |         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:128:60
    |
128 |         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:133:31
    |
133 |         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:135:31
    |
135 |         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:146:31
    |
146 |         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:148:31
    |
148 |         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:159:31
    |
159 |         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:161:31
    |
161 |         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:177:31
    |
177 |         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:179:31
    |
179 |         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: *** [Makefile:10: openbench] Error 101