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/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/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/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/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> {
| ~~~~~^
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 ssrc/rose/square.hpptd:::64u:n21e:xp ecerror: tno member named 'unexpected' in namespace 'std'e
d(ParseError:: i64nv | a l id _ l en g thr)et;
u rn| ~~~~~^
std::unexpected(ParseError::invalid_length);
| ~~~~~^
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: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: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:
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/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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(Psrc/rose/square.hppa:r69s:e21Er:r oerror: r:no member named 'unexpected' in namespace 'std':in
valid_c h69ar | ) ;
| ~~~~~^
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: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::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.hppsrc/rose/square.hpp::6469::2121:: error: error: no member named 'unexpected' in namespace 'std'
no member named 'unexpected' in namespace 'std'
69 | 64 | r e t ur n r esttudr:n: usntde::xupnecextpedec(tPead(rPsaersEeErrrroorr::::iinnvvaalliidd__clhenagrt)h;)
;
| ~~~~~^| ~~~~~^
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/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>;
| ~~~~~^
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/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: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: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);
| ~~~~~^
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/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> {
| ~~~~~^
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/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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'src/rose/square.hpp
:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int' 66
| 71 | r e t u rn st dr:e:utnuerxnpect edf(PrarosmeE_rrfori::lineva_laind_dch_arr)a;n
| ~~~~~^k
(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:66:21: error: no member named 'unexpected' in namespace 'std'
In file included from src/rose/movegen.cpp:1:
In file included from 66src/rose/movegen.hpp | :5 :
src/rose/move.hpp : 107 : 97 :r eerror: tno template named 'expected' in namespace 'std'ur
n std::unexpected( P107ar | s e E srtraotri::ci navaultiod _pchara)r;s
e (| s ~~~~~^t
d::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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/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/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>;
| ~~~~~^
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/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: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 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>;
| ~~~~~^
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/square.hppsrc/rose/tt.cpp::641::
21In file included from :src/rose/tt.hpp :error: 4no member named 'unexpected' in namespace 'std'
:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
64 | 107 | s taticr auto paersteu(rstnd: :sstrtindg_:v:iuenw estxrp,e McovteFeordma(tPa rfosrmeatE, rcornsotr :P:oisnivtiaonl& icdon_tleexntg) t-> hst)d;:
:e x| p ~~~~~^ect
ed<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);
| ~~~~~^
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);
| ~~~~~^
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.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: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(ParseEIn file included from rrotests/test_geometry.cppr:::1i:
nvIn file included from alsrc/rose/board.hppid:_c3h:
aIn file included from r)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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | returIn file included from nsrc/rose/move.cpp s:t1d::
:usrc/rose/move.hppne:107xp:e97ct:ed (error: Pno template named 'expected' in namespace 'std'ar
seError::invali d107_ | c h a r )s;
t | a ~~~~~^t
ic auto parse(std::string_view str, MoveFormat format, const Position& contexsrc/rose/square.hpp:t)71 :-14>: error: sno viable conversion from returned value of type 'Square' to function return type 'int't
d::e x71p | e c t e dr<eMtouvren, f rPoam_rfsielEe_ranrd_orra>nk;(f
il e| , ~~~~~^
rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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> {
| ~~~~~^
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 tests/test_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> {
| ~~~~~^
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);
| ~~~~~^
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: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);
| ~~~~~^
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> {
| ~~~~~^
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: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 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: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 | In file included from resrc/rose/move_picker.cppt:u1rn:
sIn file included from tdsrc/rose/move_picker.hpp:::4u:
nesrc/rose/move.hppx:pe107c:t97e:d( Perror: no template named 'expected' in namespace 'std'ar
seError::in v107al | i d_ c h asrtsrc/rose/square.hpp);a:t
i69 c:| ~~~~~^21a
:u terror: ono member named 'unexpected' in namespace 'std'
par s69e | ( s td : : s tr i nregt_uvrineIn file included from wsrc/rose/movegen.cpp ss:ttr1,d:
In file included from :Msrc/rose/movegen.hppo:v:5euF:
osrc/rose/move.hppn:er107xm:apt97 :e cerror: no template named 'expected' in namespace 'std'f
otrsrc/rose/square.hpp em107:d66a:t | (21, P: c oa n ssrterror: tno member named 'unexpected' in namespace 'std's
aPteoi E66s | cri t r iao our nt: &o: i cponn atresvrextae()s ltt-d>iu: dsrt:ds:_nt:ec rxihspnegatc_tverddi<eM):owv e;:,s tP
ura,r nexMs| poev ~~~~~^eEce
Frtoroerrd>m;(a
tP fao| ~~~~~^rr
smeaEtr,ro rc:o:nisntv aPloisdi_tcihoanr&) src/rose/square.hpp;c:
o71 n:| te14 ~~~~~^x:
t) error: -no viable conversion from returned value of type 'Square' to function return type 'int'>
st d71:: | e x p e c t erde<tMuovren, fPraorms_efEirlreo_ra>n;d
_ r| a ~~~~~^n
k(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);
| ~~~~~^
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:4src/rose/square.hpp:
:src/rose/move.hpp69::10721::97 :error: no member named 'unexpected' in namespace 'std'error:
no template named 'expected' in namespace 'std'
69 | 107 | r e tu rsnt astitcd :a:uutnoe xppaercstee(ds(tPda:r:ssetErirnrogr_v:ie:wi nsvtarl,i dM_ovcehFaorr)ma;t
f o| r ~~~~~^m
at, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
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::src/rose/square.hppi:nv69a:l21i:d _error: cno member named 'unexpected' in namespace 'std'ha
r);
| ~~~~~^
69 | return std::unexpected(ParseError::invalid_chaIn file included from r)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 forsrc/rose/square.hppm:a71t:,14: cerror: ono viable conversion from returned value of type 'Square' to function return type 'int'n
st P71o | s i t i o n &r ectounrtne xftr)o m-_>f islted_:a:nedx_preacntke(df<iMloev,e ,r aPnakr);s
e E| r ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ror>;
| ~~~~~^
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: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 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>;
| ~~~~~^
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/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::expsrc/rose/square.hppec:t69e:d21<:M oerror: vno member named 'unexpected' in namespace 'std'e
, Pars e69E | r r or > ;
| ~~~~~^
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: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/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 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 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_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 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/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> {
| ~~~~~^
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/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: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/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> {
| ~~~~~^
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:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_viewsrc/rose/position.hpp pl:y279) :->21 :st derror: :no member named 'unexpected' in namespace 'std':
expected<Po si279t | i o n , P a r serEertruorrn>;
s t| d ~~~~~^:
: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:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
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: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>;
| ~~~~~^
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> {
| ~~~~~^
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'
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/move.cpp:17:19: error: no member named 'unexpected' in namespace 'std'
17 | 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> {
| ~~~~~^
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/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
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/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.error());
| ~~~~~^
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/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/move.cpp:25:19: error: no member named 'unexpected' in namespace 'std'
25 | return std::unexpected(to.error());
| ~~~~~^
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/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/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/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>;
| ~~~~~^
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/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);
| ~~~~~^
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: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/move.cpp:58:19: error: no member named 'unexpected' in namespace 'std'
58 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
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> {
| ~~~~~^
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_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_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/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:src/rose/move.cpp67:16:: 21error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags':
19: error: no member named 'unexpected' in namespace 'std'
67 | 21 | r et u r n craetptuurnr e s?t Mdo:v:eunFleaxgpsec::tceadp(_frpormo.moe_rrr o:r( )M)o;v
e F| ~~~~~^l
ags::promo_r;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
20 errors generated.
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_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 | 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/move.cpp:25:19: error: no member named 'unexpected' in namespace 'std'
25 | return std::unexpsrc/rose/position.hppe:c288t:ed(53t:o .error: eno template named 'expected' in namespace 'std'rr
or());
| ~~~~~^
288 | std::string_view ply) -> ssrc/rose/eval/nnue/embedded.cppt:d6:::2e:x perror: einvalid preprocessing directivec
ted< P6o | s#ietmiboend, RPOarSsEeE_rNrEoTr>WO;R
K _| F ~~~~~^I
LE
| ^
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);
| ~~~~~^
make: *** [Makefile:74: build/native/rel/src/rose/move.o] Error 1
make: *** Waiting for unfinished jobs....
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/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);
| ~~~~~^
10 errors generated.
src/rose/position.cpp:786:25: error: no member named 'unexpected' in namespace 'std'
786 | return std::unexpected(ParseError::too_many_pieces);
| ~~~~~^
make: *** [Makefile:90: build/native/rel/src/rose/eval/nnue/embedded.o] Error 1
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:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.cpp:752:58: error: no template named 'expected' in namespace 'std'
752 | std::string_view ply_str) -> std::expected<Position, ParseError> {
| ~~~~~^
5 errors generated.
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
10 errors generated.
9 errors generated.
src/rose/position.cpp:766:25: error: no member named 'unexpected' in namespace 'std'
766 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
9 errors generated.
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
6 errors generated.
make: *** [Makefile:78: build/native/deb/tests/test_geometry.o] Error 1
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);
| ~~~~~^
make: *** [Makefile:94: build/native/deb/src/rose/eval/nnue/embedded.o] Error 1
make: *** [Makefile:74: build/native/rel/src/rose/game.o] Error 1
make: *** [Makefile:74: build/native/rel/src/rose/movegen.o] Error 1
src/rose/position.cpp:846:25: error: no member named 'unexpected' in namespace 'std'
846 | return std::unexpected(*err);
| ~~~~~^
make: *** [Makefile:74: build/native/rel/src/rose/tt.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);
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
src/rose/position.cpp:793:23: error: no member named 'unexpected' in namespace 'std'
793 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
6 errors generated.
src/rose/position.cpp:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
9 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/position.o] Error 1
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/tt.o] Error 1
9 errors generated.
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/src/rose/movegen.o] Error 1
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/tests/test_is_legal.o] Error 1
make: *** [Makefile:78: build/native/deb/src/rose/game.o] Error 1
src/rose/position.cpp:846:25: error: no member named 'unexpected' in namespace 'std'
846 | return std::unexpected(*err);
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
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> {
| ~~~~~^
make: *** [Makefile:78: build/native/deb/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> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
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/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> {
| ~~~~~^
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/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);
| ~~~~~^
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:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
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> {
| ~~~~~^
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> {
| ~~~~~^
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
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/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: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> {
| ~~~~~^
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);
| ~~~~~^
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/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: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: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:
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: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: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);
| ~~~~~^
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: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: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: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: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: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);
| ~~~~~^
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: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: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 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>;
| ~~~~~^
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/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: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>;
| ~~~~~^
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>;
| ~~~~~^
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>;
| ~~~~~^
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>;
| ~~~~~^
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/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> {
| ~~~~~^
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/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/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/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: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: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> {
| ~~~~~^
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: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);
| ~~~~~^
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> {
| ~~~~~^
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> {
| ~~~~~^
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/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:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
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: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/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>;
| ~~~~~^
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/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: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: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);
| ~~~~~^
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.
make: *** [Makefile:73: build/native/rel/src/main.o] Error 1
9 errors generated.
9 errors generated.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/bench.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/cmd/bench.o] Error 1
make: *** [Makefile:73: build/native/rel/src/rose/engine.o] Error 1
make: *** [Makefile:77: build/native/deb/src/main.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/engine.o] Error 1
9 errors generated.
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/interface.o] Error 1
make: *** [Makefile:73: build/native/rel/src/rose/interface.o] Error 1
9 errors generated.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/tool/datagen/datagen.o] Error 1
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