fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/main.cpp -o build/native/rel/src/main.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/engine.cpp -o build/native/rel/src/rose/engine.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/game.cpp -o build/native/rel/src/rose/game.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/hash.cpp -o build/native/rel/src/rose/hash.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/interface.cpp -o build/native/rel/src/rose/interface.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/move.cpp -o build/native/rel/src/rose/move.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/move_picker.cpp -o build/native/rel/src/rose/move_picker.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/movegen.cpp -o build/native/rel/src/rose/movegen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/position.cpp -o build/native/rel/src/rose/position.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/search.cpp -o build/native/rel/src/rose/search.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/tt.cpp -o build/native/rel/src/rose/tt.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -DROSE_VERSION=\"0.0.0\" -DROSE_GIT_COMMIT_HASH=\"\" -DROSE_GIT_COMMIT_DESC=\"\" -c src/rose/version.cpp -o build/native/rel/src/rose/version.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/cmd/bench.cpp -o build/native/rel/src/rose/cmd/bench.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/cmd/perft.cpp -o build/native/rel/src/rose/cmd/perft.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/util/assert.cpp -o build/native/rel/src/rose/util/assert.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/util/string.cpp -o build/native/rel/src/rose/util/string.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -DROSE_NETWORK_FILE=\"/workspace/ScarletAsylum/Client/Networks/EBDEB71E\" -c src/rose/eval/nnue/embedded.cpp -o build/native/rel/src/rose/eval/nnue/embedded.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c src/rose/tool/datagen/datagen.cpp -o build/native/rel/src/rose/tool/datagen/datagen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/main.cpp -o build/native/deb/src/main.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/engine.cpp -o build/native/deb/src/rose/engine.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/game.cpp -o build/native/deb/src/rose/game.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/hash.cpp -o build/native/deb/src/rose/hash.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/interface.cpp -o build/native/deb/src/rose/interface.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/move.cpp -o build/native/deb/src/rose/move.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/move_picker.cpp -o build/native/deb/src/rose/move_picker.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/movegen.cpp -o build/native/deb/src/rose/movegen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/position.cpp -o build/native/deb/src/rose/position.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/search.cpp -o build/native/deb/src/rose/search.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/tt.cpp -o build/native/deb/src/rose/tt.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -DROSE_VERSION=\"0.0.0\" -DROSE_GIT_COMMIT_HASH=\"\" -DROSE_GIT_COMMIT_DESC=\"\" -c src/rose/version.cpp -o build/native/deb/src/rose/version.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/cmd/bench.cpp -o build/native/deb/src/rose/cmd/bench.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/cmd/perft.cpp -o build/native/deb/src/rose/cmd/perft.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/util/assert.cpp -o build/native/deb/src/rose/util/assert.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/util/string.cpp -o build/native/deb/src/rose/util/string.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -DROSE_NETWORK_FILE=\"/workspace/ScarletAsylum/Client/Networks/EBDEB71E\" -c src/rose/eval/nnue/embedded.cpp -o build/native/deb/src/rose/eval/nnue/embedded.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c src/rose/tool/datagen/datagen.cpp -o build/native/deb/src/rose/tool/datagen/datagen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c tools/rose-datagen.cpp -o build/native/rel/tools/rose-datagen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O3 -DROSE_NO_ASSERTS -flto=thin -c tools/rose-generate-hash.cpp -o build/native/rel/tools/rose-generate-hash.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_geometry.cpp -o build/native/deb/tests/test_geometry.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_is_legal.cpp -o build/native/deb/tests/test_is_legal.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_movegen.cpp -o build/native/deb/tests/test_movegen.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_perft.cpp -o build/native/deb/tests/test_perft.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_position.cpp -o build/native/deb/tests/test_position.o
clang++ -Isrc -MMD -MP -DFMT_HEADER_ONLY -Ivendor/fmt/include -Ivendor/lps/include -std=c++26 -march=native -DNDEBUG -O2 -g -c tests/test_tt.cpp -o build/native/deb/tests/test_tt.o
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/hash.cpp:1:
In file included from src/rose/hash.hpp:3:
In file included from src/rose/board.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/move.cpp:1:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/position.cpp:1:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/tt.cpp:1:
In file included from src/rose/tt.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/movegen.cpp:1:
In file included from src/rose/movegen.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_csrc/rose/square.hpph:a71r:)14;:
error: no viable conversion from returned value of type 'Square' to function return type 'int'|
~~~~~^
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_asrc/rose/square.hppnd_:r64a:n21k(:f error: ino member named 'unexpected' in namespace 'std'le
, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~64
| return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/move.cpp:1:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/move.cpp:1:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:4:
In file included from src/rose/eval/concepts.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::In file included from exsrc/rose/movegen.cppp:e1c:
tIn file included from esrc/rose/movegen.hppd:<3S:
quIn file included from asrc/rose/bitboard.hppr:e4,:
src/rose/square.hppP:a62rs:eE63r:r orerror: >no template named 'expected' in namespace 'std'
{
| ~~~~~^
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/hash.cpp:1:
In file included from src/rose/hash.hpp:3:
In file included from src/rose/board.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/tt.cpp:1:
In file included from src/rose/tt.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/tt.cpp:1:
In file included from src/rose/tt.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/position.cpp:1:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/position.cpp:1:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:4:
In file included from src/rose/eval/concepts.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hppIn file included from src/rose/movegen.cpp:1:
:In file included from 64src/rose/movegen.hpp:21::5 :
error: src/rose/move.hppno member named 'unexpected' in namespace 'std':
107:97: error: no template named 'expected' in namespace 'std'
64 | 107 | r e t u rsnt asttidc: :auunteox ppeacrtseed((sPtad:r:ssetErrirnogr_:v:iienvwa lsitdr_,l eMngotvhe)F;
o r| m ~~~~~^a
t format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return src/rose/square.hppst:d::66un:21ex:p eerror: cno member named 'unexpected' in namespace 'std'
ted(ParseE rr66or | : : i nv a l id _rleentgtuhr)n;
s t| d ~~~~~^
::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from tests/test_perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseErsrc/rose/square.hppror::64::i21nv:al ierror: dno member named 'unexpected' in namespace 'std'_c
har);
| ~~~~~^
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseEsrc/rose/square.hpprr:or64:::i21nv:al ierror: dno member named 'unexpected' in namespace 'std'_
length);
| ~~~~~^
64 | return std:src/rose/square.hpp::u69n:e21x:p eerror: cno member named 'unexpected' in namespace 'std't
ed(P a69r | s e E r r o r : :rientvuranl isdtd_:l:eunngetxhp)e;c
t e| d ~~~~~^(
ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from tests/test_movegen.cpp:1:
In file included from src/rose/movegen.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_tt.cpp:2:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from tests/test_geometry.cpp:1:
In file included from src/rose/board.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_src/rose/square.hppfi:l66e:_a21n: d_error: rno member named 'unexpected' in namespace 'std'an
k(file, ran k)66; |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, Pasrc/rose/square.hpprs:e69E:r21r:o rerror: >;no member named 'unexpected' in namespace 'std'
|
~~~~~^
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
In file included from 69tests/test_position.cpp | : 1 :
In file included from src/rose/position.hpp : 3 :
In file included from rsrc/rose/bitboard.hppet:u4r:
n src/rose/square.hppst:d62:::u63n:e xerror: pno template named 'expected' in namespace 'std'e
cted(ParseError::invalid_char);
62| | ~~~~~^
static constexpr auto parse(std::string_view str) -> std::expectsrc/rose/square.hppe:d71<:S14q:u aerror: no viable conversion from returned value of type 'Square' to function return type 'int'r
e, 71P | a r s e E r rroertu>r n{
f r| o ~~~~~^m
_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from tests/test_is_legal.cpp:2:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/move.cpp:1:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/movegen.cpp:1:
In file included from src/rose/movegen.hpp:5:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/tt.cpp:1:
In file included from src/rose/tt.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseErrsrc/rose/square.hppor>:;
66 :| 21 ~~~~~^:
error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
src/rose/square.hpp:66:21 :69 | error: no member named 'unexpected' in namespace 'std'
return s t66d: | : u n e x p e crteetdu(Pranr sstedE:r:ruonre:x:piencvatleidd(_cPhaarrs)e;E
r| ~~~~~^r
or::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/position.cpp:1:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_viesrc/rose/square.hppw:71 :s14tr:, error: Mno viable conversion from returned value of type 'Square' to function return type 'int'o
veFormat 71fo | rm a t , c ornesttu rPno sfitrioomn_&f icloen_taenxdt_)r a-n> ks(tfdi:l:ee,x preacntked)<;M
o v| e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,
ParseError>;
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from tests/test_tt.cpp:2:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_movegen.cpp:1:
In file included from src/rose/movegen.hpp:5:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_is_legal.cpp:2:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_position.cpp:1:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:5:
In file included from src/rose/movegen.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/move.cpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/position.cpp:1:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | In file included from src/rose/cmd/perft.cpp : 1 :
In file included from src/rose/cmd/perft.hpp : 4 :
src/rose/position.hpp : 270 :st53d::: serror: trno template named 'expected' in namespace 'std'in
g_view ply) -> std:: e270xp | ec t ed <P osisttiaotni,c PaarseError>;
u | t ~~~~~^o
parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/movegen.cpp:1:
In file included from src/rose/movegen.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:13:94: error: no template named 'expected' in namespace 'std'
13 | auto Move::parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
src/rose/move.cpp:17:19: error: no member named 'unexpected' in namespace 'std'279
| ret ur17n | s t d : :ruenteuxrpne csttde:d(:PuanresxepEercrtoerd:(:PianrvasleiEdr_rlore:n:gitnvha)l;i
d _| ~~~~~^le
ngth);
| ~~~~~^
In file included from src/rose/move_picker.cpp:1:
In file included from src/rose/move_picker.hpp:5:
In file included from src/rose/movegen.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.error());
| ~~~~~^
In file included from src/rose/move.cpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/move.cpp:25:19: error: no member named 'unexpected' in namespace 'std'
25 | return std::unexpected(to.error());
| ~~~~~^
In file included from src/rose/position.cpp:1:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/movegen.cpp:1:
In file included from src/rose/movegen.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/move.cpp:34:19: error: no member named 'unexpected' in namespace 'std'
34 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/move.cpp:58:19: error: no member named 'unexpected' in namespace 'std'
58 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::src/rose/position.hppst:r279in:g_21v:i eerror: wno member named 'unexpected' in namespace 'std'
ply) -> std: :279e | x p e c t e d < Proestiutrino n,s tPda:r:suenErerxopr>;e
c t| e ~~~~~^
d(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:60:35: error: no template named 'expected' in namespace 'std'
60 | const auto mf = [&]() -> std::expected<MoveFlags, ParseError> {
| ~~~~~^
src/rose/move.cpp:63:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
63 | return capture ? MoveFlags::cap_promo_q : MoveFlags::promo_q;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:65:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
65 | return capture ? MoveFlags::cap_promo_n : MoveFlags::promo_n;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:67:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
67 | return capture ? MoveFlags::cap_promo_r : MoveFlags::promo_r;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
src/rose/move.cpp:13:94: error: no template named 'expected' in namespace 'std'
13 | auto Move::parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError> {
| ~~~~~^
In file included from tests/test_perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
20 errors generated.
src/rose/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
In file included from tests/test_movegen.cpp:1:
In file included from src/rose/movegen.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from tests/test_tt.cpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | In file included from rettests/test_position.cppur:n1 s:
tdsrc/rose/position.hpp:::270u:ne53x:p eerror: ctno template named 'expected' in namespace 'std'e
d(ParseError::inval i270d | _ l e n gsttha)t;i
c | a ~~~~~^u
to parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/move.cpp:17:19: error: no member named 'unexpected' in namespace 'std'
17 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
In file included from tests/test_is_legal.cpp:3:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
make: *** [Makefile:74: build/native/rel/src/rose/move.o] Error 1
make: *** Waiting for unfinished jobs....
src/rose/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
src/rose/position.hpp: 28821: | 53 : error: no template named 'expected' in namespace 'std'
return std::un e288x | p e c t e d ( f r o m . e r r or ( ) ) ;
| ~~~~~^s
td::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:25:19: error: no member named 'unexpected' in namespace 'std'
25 | return std::unexpected(to.error());
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:34:19: error: no member named 'unexpected' in namespace 'std'
34 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:58:19: error: no member named 'unexpected' in namespace 'std'
58 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/move.cpp:60:35: error: no template named 'expected' in namespace 'std'
60 | const auto mf = [&]() -> std::expected<MoveFlags, ParseError> {
| ~~~~~^
src/rose/move.cpp:63:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
63 | return capture ? MoveFlags::cap_promo_q : MoveFlags::promo_q;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:65:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
65 | return capture ? MoveFlags::cap_promo_n : MoveFlags::promo_n;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:67:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
67 | return capture ? MoveFlags::cap_promo_r : MoveFlags::promo_r;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/move.o] Error 1
5 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/hash.o] Error 1
5 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/hash.o] Error 1
src/rose/position.cpp:752:58: error: no template named 'expected' in namespace 'std'
752 | std::string_view ply_str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.cpp:766:25: error: no member named 'unexpected' in namespace 'std'
766 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:770:25: error: no member named 'unexpected' in namespace 'std'
770 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:776:25: error: no member named 'unexpected' in namespace 'std'
776 | return std::unexpected(ParseError::too_many_kings);
| ~~~~~^
src/rose/position.cpp:786:25: error: no member named 'unexpected' in namespace 'std'
786 | return std::unexpected(ParseError::too_many_pieces);
| ~~~~~^
src/rose/position.cpp:752:58: error: no template named 'expected' in namespace 'std'
752 | std::string_view ply_str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.cpp:793:23: error: no member named 'unexpected' in namespace 'std'
793 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:766:25: error: no member named 'unexpected' in namespace 'std'
766 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
10 errors generated.
src/rose/position.cpp:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.cpp:770:25: error: no member named 'unexpected' in namespace 'std'
770 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
10 errors generated.
5 errors generated.
6 errors generated.
make: *** [Makefile:90: build/native/rel/src/rose/eval/nnue/embedded.o] Error 1
src/rose/position.cpp:776:25: error: no member named 'unexpected' in namespace 'std'
776 | return std::unexpected(ParseError::too_many_kings);
| ~~~~~^
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
9 errors generated.
make: *** [Makefile:78: build/native/deb/tests/test_geometry.o] Error 1
src/rose/position.cpp:786:25: error: no member named 'unexpected' in namespace 'std'
786 | return std::unexpected(ParseError::too_many_pieces);
| ~~~~~^
9 errors generated.
make: *** [Makefile:94: build/native/deb/src/rose/eval/nnue/embedded.o] Error 1
make: *** [Makefile:74: build/native/rel/src/rose/tt.o] Error 1
src/rose/position.cpp:846:25: error: no member named 'unexpected' in namespace 'std'
846 | return std::unexpected(*err);
| ~~~~~^
src/rose/position.cpp:793:23: error: no member named 'unexpected' in namespace 'std'
793 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
make: *** [Makefile:74: build/native/rel/src/rose/game.o] Error 1
src/rose/position.cpp:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
20 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/movegen.o] Error 1
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
6 errors generated.
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
9 errors generated.
9 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/position.o] Error 1
9 errors generated.
In file included from src/rose/engine.cpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/tt.o] Error 1
src/rose/position.cpp:846:25: error: no member named 'unexpected' in namespace 'std'
846 | return std::unexpected(*err);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_perft.o] Error 1
make: *** [Makefile:78: build/native/deb/tests/test_position.o] Error 1
make: *** [Makefile:78: build/native/deb/src/rose/movegen.o] Error 1
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/game.o] Error 1
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_is_legal.o] Error 1
make: *** [Makefile:78: build/native/deb/src/rose/position.o] Error 1
In file included from src/rose/tool/datagen/datagen.cpp:5:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
9 errors generated.
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/engine.cpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_tt.o] Error 1
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/engine.cpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_movegen.o] Error 1
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/tool/datagen/datagen.cpp:5:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/cmd/bench.cpp:2:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& contsrc/rose/square.hppe:xt66): 21:- >error: no member named 'unexpected' in namespace 'std'st
d::expe ct66e | d< M o v e , P arrseetErurronr >s;t
d :| : ~~~~~^u
nexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^In file included from
src/rose/tool/datagen/datagen.cpp:5:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseErrosrc/rose/square.hppr::66::i21n:va error: lino member named 'unexpected' in namespace 'std'd_
char);
| ~~~~~^
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/rose/engine.cpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/cmd/bench.cpp:2:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/engine.cpp:6:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/cmd/bench.cpp:2:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
In file included from src/rose/tool/datagen/datagen.cpp:5:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/tool/datagen/datagen.cpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/engine.cpp:6:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/cmd/bench.cpp:2:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, Parsrc/rose/position.hppseEr:r279o:r>21;:
error: | no member named 'unexpected' in namespace 'std' ~~~~~^
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
In file included from src/rose/cmd/bench.cpp:3:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/tool/datagen/datagen.cpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/cmd/bench.cpp:3:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/perft.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/cmd/perft.o] Error 1
9 errors generated.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/engine.o] Error 1
make: *** [Makefile:73: build/native/rel/src/main.o] Error 1
9 errors generated.
9 errors generated.
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/cmd/bench.o] Error 1
make: *** [Makefile:77: build/native/deb/src/rose/engine.o] Error 1
make: *** [Makefile:77: build/native/deb/src/main.o] Error 1
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/bench.o] Error 1
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/interface.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/interface.o] Error 1
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/tool/datagen/datagen.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/tool/datagen/datagen.o] Error 1
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/move_picker.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/move_picker.o] Error 1
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/search.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/search.o] Error 1