fatal: not a git repository (or any of the parent directories): .git
clang++ -O3 -march=native -ffast-math -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -DEVALFILE=\"/home/qitag/OpenBench/Client/Networks/35B74CC5\" ./src/Prelude.cpp ./src/accumulator.cpp ./src/board.cpp ./src/datagen.cpp ./src/move.cpp ./src/movegen.cpp ./src/nnue.cpp ./src/search.cpp ./src/searcher.cpp ./src/tb.cpp ./src/thread.cpp ./external/fmt/format.cc ./external/Pyrrhic/tbprobe.cpp -o Prelude-ABC4DF39-35B74CC5
In file included from ./src/Prelude.cpp:7:
In file included from ./src/tb.h:5:
In file included from ./src/globals.h:3:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings generated.
In file included from ./src/accumulator.cpp:1:
In file included from ./src/accumulator.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/accumulator.cpp:1:
In file included from ./src/accumulator.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/accumulator.cpp:2:
In file included from ./src/globals.h:3:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/board.cpp:5:
In file included from ./src/globals.h:3:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:37: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~~
./src/board.cpp:167:22: note: in instantiation of function template specialization 'shift<7>' requested here
167 | checkMask |= shift<NORTH_WEST>(kingBB & ~MASK_FILE[File::AFILE]) & pieces(BLACK, PAWN);
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:37: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~~
./src/board.cpp:168:22: note: in instantiation of function template specialization 'shift<9>' requested here
168 | checkMask |= shift<NORTH_EAST>(kingBB & ~MASK_FILE[File::HFILE]) & pieces(BLACK, PAWN);
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:25: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~
./src/board.cpp:171:22: note: in instantiation of function template specialization 'shift<-9>' requested here
171 | checkMask |= shift<SOUTH_WEST>(kingBB & ~MASK_FILE[File::AFILE]) & pieces(WHITE, PAWN);
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:25: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~
./src/board.cpp:172:22: note: in instantiation of function template specialization 'shift<-7>' requested here
172 | checkMask |= shift<SOUTH_EAST>(kingBB & ~MASK_FILE[File::HFILE]) & pieces(WHITE, PAWN);
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:37: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~~
./src/board.cpp:257:86: note: in instantiation of function template specialization 'shift<1>' requested here
257 | if (pt == PAWN && (to + 16 == from || to - 16 == from) && (pieces(~stm, PAWN) & (shift<EAST>((1ULL << to) & ~MASK_FILE[File::HFILE]) | shift<WEST>((1ULL << to) & ~MASK_FILE[File::AFILE]))))
| ^
In file included from ./src/board.cpp:1:
In file included from ./src/board.h:3:
./src/util.h:37:25: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~
./src/board.cpp:257:140: note: in instantiation of function template specialization 'shift<-1>' requested here
257 | if (pt == PAWN && (to + 16 == from || to - 16 == from) && (pieces(~stm, PAWN) & (shift<EAST>((1ULL << to) & ~MASK_FILE[File::HFILE]) | shift<WEST>((1ULL << to) & ~MASK_FILE[File::AFILE]))))
| ^
8 warnings and 2 errors generated.
In file included from ./src/datagen.cpp:2:
In file included from ./src/board.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/datagen.cpp:2:
In file included from ./src/board.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/datagen.cpp:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/move.cpp:1:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/move.cpp:1:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/move.cpp:3:
In file included from ./src/globals.h:3:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:4:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:4:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:37:37: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~~
./src/movegen.cpp:245:16: note: in instantiation of function template specialization 'shift<9>' requested here
245 | return shift<NORTH_EAST>(sqBB & ~MASK_FILE[HFILE]) | shift<NORTH_WEST>(sqBB & ~MASK_FILE[AFILE]);
| ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:37:37: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~~
./src/movegen.cpp:245:62: note: in instantiation of function template specialization 'shift<7>' requested here
245 | return shift<NORTH_EAST>(sqBB & ~MASK_FILE[HFILE]) | shift<NORTH_WEST>(sqBB & ~MASK_FILE[AFILE]);
| ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:37:25: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~
./src/movegen.cpp:247:12: note: in instantiation of function template specialization 'shift<-7>' requested here
247 | return shift<SOUTH_EAST>(sqBB & ~MASK_FILE[HFILE]) | shift<SOUTH_WEST>(sqBB & ~MASK_FILE[AFILE]);
| ^
In file included from ./src/movegen.cpp:1:
In file included from ./src/movegen.h:5:
In file included from ./src/board.h:3:
./src/util.h:37:25: warning: shift count is negative [-Wshift-count-negative]
37 | return dir > 0 ? bb << dir : bb >> -dir;
| ^ ~~~
./src/movegen.cpp:247:58: note: in instantiation of function template specialization 'shift<-9>' requested here
247 | return shift<SOUTH_EAST>(sqBB & ~MASK_FILE[HFILE]) | shift<SOUTH_WEST>(sqBB & ~MASK_FILE[AFILE]);
| ^
4 warnings and 2 errors generated.
In file included from ./src/nnue.cpp:1:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/nnue.cpp:1:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/nnue.cpp:1:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
./src/nnue.cpp:51:17: warning: Using AVX2 NNUE inference [-W#pragma-messages]
51 | #pragma message("Using AVX2 NNUE inference")
| ^
3 warnings and 2 errors generated.
In file included from ./src/search.cpp:1:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/search.cpp:1:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/search.cpp:1:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/searcher.cpp:1:
In file included from ./src/searcher.h:3:
In file included from ./src/ttable.h:4:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/searcher.cpp:1:
In file included from ./src/searcher.h:3:
In file included from ./src/ttable.h:4:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/searcher.cpp:1:
In file included from ./src/searcher.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/tb.cpp:1:
In file included from ./src/tb.h:4:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/tb.cpp:1:
In file included from ./src/tb.h:4:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/tb.cpp:1:
In file included from ./src/tb.h:5:
In file included from ./src/globals.h:3:
In file included from ./src/nnue.h:5:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./src/thread.cpp:1:
In file included from ./src/thread.h:4:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/thread.cpp:1:
In file included from ./src/thread.h:4:
In file included from ./src/search.h:4:
In file included from ./src/board.h:5:
./src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./src/thread.cpp:1:
In file included from ./src/thread.h:4:
./src/search.h:84:46: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709519104 to -32512 [-Wconstant-conversion]
84 | constexpr i32 MATED_IN_MAX_PLY = -MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~
./src/search.h:88:52: warning: implicit conversion from 'usize' (aka 'unsigned long') to 'const i32' (aka 'const int') changes value from 18446744073709521871 to -29745 [-Wconstant-conversion]
88 | constexpr i32 TB_MATED_IN_MAX_PLY = -TB_MATE_SCORE + MAX_PLY;
| ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~
2 warnings and 2 errors generated.
In file included from ./external/Pyrrhic/tbprobe.cpp:41:
In file included from ./external/Pyrrhic/tbprobe.h:32:
In file included from ./external/Pyrrhic/tbconfig.h:43:
In file included from ./external/Pyrrhic/../../src/movegen.h:4:
./external/Pyrrhic/../../src/move.h:115:31: error: no matching function for call to 'find'
115 | bool has(Move m) { return std::find(begin(), end(), m) != end(); }
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
In file included from ./external/Pyrrhic/tbprobe.cpp:41:
In file included from ./external/Pyrrhic/tbprobe.h:32:
In file included from ./external/Pyrrhic/tbconfig.h:43:
In file included from ./external/Pyrrhic/../../src/movegen.h:4:
./external/Pyrrhic/../../src/move.h:118:25: error: no matching function for call to 'find'
118 | auto location = std::find(begin(), end(), m);
| ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/streambuf_iterator.h:435:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT>' against 'iterator' (aka 'Move *')
435 | find(istreambuf_iterator<_CharT> __first,
| ^
2 errors generated.
make: *** [makefile:37: Prelude-ABC4DF39-35B74CC5] Error 1