Building SeaJay for OpenBench...
Compiler: g++
Output: SeaJay-E72F3390
# Configure with CMake (only build engine, not tests)
cmake -S . -B openbench-build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_CXX_FLAGS="-O3 -DNDEBUG -march=native -flto" \
-DEVALFILE="" \
-DBUILD_TESTING=OFF
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
EVALFILE
-- Build files have been written to: /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build
# Build ONLY the engine binary (not tests or utilities)
make -C openbench-build -j seajay
make[1]: Entering directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[2]: Entering directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[3]: Entering directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Leaving directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
[ 13%] Building CXX object CMakeFiles/seajay_core.dir/src/core/perft.cpp.o
[ 13%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_list.cpp.o
[ 13%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board.cpp.o
[ 13%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board_safety.cpp.o
[ 17%] Building CXX object CMakeFiles/seajay_core.dir/src/core/transposition_table.cpp.o
[ 20%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_generation.cpp.o
[ 24%] Building CXX object CMakeFiles/seajay_core.dir/src/core/see.cpp.o
[ 31%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/pawn_structure.cpp.o
[ 31%] Building CXX object CMakeFiles/seajay_core.dir/src/core/attack_cache.cpp.o
[ 34%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/evaluate.cpp.o
[ 37%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/pst.cpp.o
[ 48%] Building CXX object CMakeFiles/seajay_core.dir/src/search/search.cpp.o
[ 48%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/king_safety.cpp.o
[ 48%] Building CXX object CMakeFiles/seajay_core.dir/src/search/move_ordering.cpp.o
[ 51%] Building CXX object CMakeFiles/seajay_core.dir/src/search/countermoves.cpp.o
[ 58%] Building CXX object CMakeFiles/seajay_core.dir/src/search/killer_moves.cpp.o
[ 58%] Building CXX object CMakeFiles/seajay_core.dir/src/search/negamax.cpp.o
[ 65%] Building CXX object CMakeFiles/seajay_core.dir/src/search/aspiration_window.cpp.o
[ 65%] Building CXX object CMakeFiles/seajay_core.dir/src/search/time_management.cpp.o
[ 68%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence_performance.cpp.o
[ 72%] Building CXX object CMakeFiles/seajay_core.dir/src/search/history_heuristic.cpp.o
[ 75%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence.cpp.o
[ 79%] Building CXX object CMakeFiles/seajay_core.dir/src/search/lmr.cpp.o
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static seajay::ZobristKeyManager::ZobristUpdate seajay::ZobristKeyManager::buildUpdate(const seajay::Board&, seajay::Move)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:445:19: warning: unused variable ‘promotedType’ [-Wunused-variable]
445 | PieceType promotedType = promotionType(move);
| ^~~~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:455:16: warning: unused variable ‘capturedSquare’ [-Wunused-variable]
455 | Square capturedSquare = (us == WHITE) ? to - 8 : to + 8;
| ^~~~~~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static bool seajay::MoveSequenceValidator::checkForDoubleMoves(const seajay::Move*, size_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:563:16: warning: unused variable ‘prevTo’ [-Wunused-variable]
563 | Square prevTo = moveTo(moves[i-1]);
| ^~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:564:16: warning: unused variable ‘currFrom’ [-Wunused-variable]
564 | Square currFrom = moveFrom(moves[i]);
| ^~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::Bitboard seajay::SEECalculator::getXrayAttackers(const seajay::Board&, seajay::Square, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/see.cpp:230:12: warning: unused variable ‘removedSq’ [-Wunused-variable]
230 | Square removedSq = lsb(removedPiece);
| ^~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::SEEValue seajay::SEECalculator::computeSEE(const seajay::Board&, seajay::Square, seajay::Color, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/see.cpp:589:16: warning: unused variable ‘attackerSquare’ [-Wunused-variable]
589 | Square attackerSquare = lsb(attackerBB);
| ^~~~~~~~~~~~~~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/lmr.h:4,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/lmr.cpp:1:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/time_management.h:8,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/time_management.cpp:4:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence.h:6,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence.cpp:1:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence.h:6,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp:2:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp: In static member function ‘static seajay::search::QuiescencePerformanceData seajay::search::QuiescencePerformanceBenchmark::benchmarkPosition(const std::string&, int, bool)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp:109:10: warning: variable ‘startTime’ set but not used [-Wunused-but-set-variable]
109 | auto startTime = std::chrono::high_resolution_clock::now();
| ^~~~~~~~~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/search.h:5,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/search.cpp:1:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/negamax.h:3,
from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:1:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h: In static member function ‘static int seajay::search::SearchData::PruneBreakdown::bucketForDepth(int)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/types.h:358:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
358 | if (depth <= 3) return 0; if (depth <= 6) return 1; if (depth <= 9) return 2; return 3;
| ^~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board.cpp:5:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/negamax.cpp: In function ‘seajay::eval::Score seajay::search::negamax(seajay::Board&, int, int, seajay::eval::Score, seajay::eval::Score, seajay::SearchInfo&, SearchData&, const SearchLimits&, seajay::TranspositionTable*, TriangularPV*, bool)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:954:14: warning: unused variable ‘isCutoffMove’ [-Wunused-variable]
954 | bool isCutoffMove = false;
| ^~~~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:272:9: warning: variable ‘ttDepth’ set but not used [-Wunused-but-set-variable]
272 | int ttDepth = -1;
| ^~~~~~~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:4:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp: In member function ‘void seajay::PawnStructure::clear()’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:23:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct seajay::PawnEntry’; use assignment or value-initialization instead [-Wclass-memaccess]
23 | std::memset(m_table, 0, m_size * sizeof(PawnEntry));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:1:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.h:10:8: note: ‘struct seajay::PawnEntry’ declared here
10 | struct PawnEntry {
| ^~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board.cpp: In member function ‘bool seajay::Board::isRepetitionDrawInSearch(const seajay::SearchInfo&, int) const’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/core/board.cpp:2376:9: warning: unused variable ‘maxLookback’ [-Wunused-variable]
2376 | int maxLookback = std::min(static_cast<int>(m_halfmoveClock), 100);
| ^~~~~~~~~~~
In file included from /tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:9:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getIsolatedPawnsFast(uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:118:24: warning: unused variable ‘NOT_FILE_A’ [-Wunused-variable]
118 | constexpr uint64_t NOT_FILE_A = ~FILE_A;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:119:24: warning: unused variable ‘NOT_FILE_H’ [-Wunused-variable]
119 | constexpr uint64_t NOT_FILE_H = ~FILE_H;
| ^~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h: In function ‘uint64_t seajay::simd::getBackwardPawnsFast(uint64_t, uint64_t, bool, uint64_t)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:216:22: warning: unused variable ‘leftFile’ [-Wunused-variable]
216 | uint64_t leftFile = FILE_A << (file - 1);
| ^~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/../core/simd_utils.h:189:24: warning: unused variable ‘FILE_H’ [-Wunused-variable]
189 | constexpr uint64_t FILE_H = 0x8080808080808080ULL;
| ^~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp: In function ‘seajay::eval::Score seajay::eval::evaluate(const seajay::Board&)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:182:13: error: ‘debugMode’ was not declared in this scope
182 | if (debugMode) {
| ^~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:1016:9: error: ‘phase256’ was not declared in this scope; did you mean ‘phase0to256’?
1016 | if (phase256 < 32) {
| ^~~~~~~~
| phase0to256
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:1041:13: error: ‘debugMode’ was not declared in this scope
1041 | if (debugMode) {
| ^~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp: In function ‘seajay::eval::EvalBreakdown seajay::eval::evaluateDetailed(const seajay::Board&)’:
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:1206:9: error: ‘m_debugMode’ was not declared in this scope
1206 | if (m_debugMode) {
| ^~~~~~~~~~~
/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:1134:26: warning: unused variable ‘PASSED_PAWN_BONUS’ [-Wunused-variable]
1134 | static constexpr int PASSED_PAWN_BONUS[8] = {
| ^~~~~~~~~~~~~~~~~
make[4]: *** [CMakeFiles/seajay_core.dir/build.make:188: CMakeFiles/seajay_core.dir/src/evaluation/evaluate.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[3]: *** [CMakeFiles/Makefile2:88: CMakeFiles/seajay_core.dir/all] Error 2
make[3]: Leaving directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[2]: *** [CMakeFiles/Makefile2:121: CMakeFiles/seajay.dir/rule] Error 2
make[2]: Leaving directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make[1]: *** [Makefile:192: seajay] Error 2
make[1]: Leaving directory '/tmp/tmp9466b7vc/SeaJay/SeaJay-tmp/openbench-build'
make: *** [Makefile:51: all] Error 2