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 -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 -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 -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/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/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/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:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return 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> {
| ~~~~~^
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);
| ~~~~~^
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:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
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> {
| ~~~~~^
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/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: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:
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: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/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/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);
| ~~~~~^
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: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(ParIn file included from seErsrc/rose/position.cppr:or1::
:In file included from isrc/rose/position.hppnv:a3l:
iIn file included from dsrc/rose/bitboard.hpp_:l4e:
nsrc/rose/square.hppg:t62h):;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/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: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: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/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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return In file included from stsrc/rose/cmd/perft.cppd::1:u:
nIn file included from esrc/rose/cmd/perft.hppx:p4:
eIn file included from csrc/rose/position.hppte:d(3P:
aIn file included from rsrc/rose/bitboard.hpps:e4Er:
rosrc/rose/square.hppr::62::63i:n verror: alno template named 'expected' in namespace 'std'i
d_char);
| ~~~~~^
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, 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::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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.hppIn file included from src/rose/move.cpp:1:
src/rose/move.hpp::10766::97:21 :error: error: no template named 'expected' in namespace 'std'no member named 'unexpected' in namespace 'std'
66 | 107 | rsettautrinc satutdo: :upnaerxspeec(tsetdd:(P:asrtserEirnrgo_r:v:iienwv asltird,_ cMhaovre)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 std::unexpected(ParseError::invalid_length);
| ~~~~~^
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'
In file included from 69 | src/rose/eval/nnue/embedded.cpp : 1 :
In file included from src/rose/eval/nnue/embedded.hpp : 3r:
eIn file included from tsrc/rose/eval/nnue/kyanite.hppu:r4n:
In file included from src/rose/eval/concepts.hpps:t4d:
::src/rose/square.hppu:n62e:x63p:e cerror: teno template named 'expected' in namespace 'std'd
(ParseError::invalid_char);
| ~~~~~^
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseErrosrc/rose/square.hppr:>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:
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);
| ~~~~~^
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:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
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 erettuurrnn ssttdd::::uunnexepxepcetecdte(Pdar(sePEarrrsoerE::rirnovra:l:iidn_lveanlgtihd)_;c
h| a ~~~~~^r
);
| ~~~~~^
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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, 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 | In file included from tests/test_perft.cppr:etu1r:
In file included from nsrc/rose/cmd/perft.hpp: 4f:
roIn file included from msrc/rose/position.hpp_:f3i:
lIn file included from esrc/rose/bitboard.hpp_:a4n:
d_src/rose/square.hppra:n62k(:f63i:le error: ,no template named 'expected' in namespace 'std'
rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: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: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.hppIn file included from :71tests/test_geometry.cpp:14::1 :
error: no viable conversion from returned value of type 'Square' to function return type 'int'In file included from
src/rose/board.hpp:3:
In file included from src/rose/bitboard.hpp :471:
| src/rose/square.hpp :62 : 63 :r eerror: tno template named 'expected' in namespace 'std'In file included from usrc/rose/game.cppr
:n1 :
frIn file included from omsrc/rose/game.hpp_f:il4e:
_asrc/rose/move.hppn :d62107_ | :r 97a: nk( ferror: ino template named 'expected' in namespace 'std'sl
tea,t ir107ac | n k c )o ;ns
ts at| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t
eixcp ra uauttoo ppaarrssee((ssttdd::::ssttrriinngg__vviieeww ssttr,r )M o-v>eF osrtmda:t: efxopercmtaetd,< Scqounsatr eP,o sPiatrisoenE&rsrc/rose/square.hpp r:66co:o21rn:> t {eerror:
xno member named 'unexpected' in namespace 'std'
| t ~~~~~^)
66- | > s t d : : e xrpeetcutrend <sMtodv:e:,u nPeaxrpseecEtrerdo(rP>a;r
s e| E ~~~~~^
rror::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>;
| ~~~~~^
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: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_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 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> {
| ~~~~~^
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: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/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 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> {
| ~~~~~^
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 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: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:
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/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: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/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: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);
| ~~~~~^
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: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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | src/rose/square.hpp :re66t:u21r:n serror: tno member named 'unexpected' in namespace 'std'd
::unexpecte d(66P | a rs e E rro r : :irnevatluirdn_ cshtard):;:
u n| e ~~~~~^x
pected(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/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'
src/rose/square.hpp:69:21: 69error: | no member named 'unexpected' in namespace 'std'
retu r69n | s t d : : u nreextpuercnt esdt(Pda:r:suenEerxrpoer:c:tiendv(aPliadr_scehEarrr)o;r
: :| i ~~~~~^n
valid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | src/rose/square.hpp : r71e:t14u:r nerror: no viable conversion from returned value of type 'Square' to function return type 'int'f
rom_fil e71_a | n d _ r a n kr(etfuirlne ,f rroamn_k)f;i
l e| _ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~a
nd_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>;
| ~~~~~^
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_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/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> {
| ~~~~~^
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/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> {
| ~~~~~^
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>;
| ~~~~~^
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/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'
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
270 | 288s | t a t i c a u to p a r s e ( s t d : : s tsritndg:_:vsiterwi nsgt_rv)i e-w> psltyd): :-e>x psetcdt:e:de<xPpoescitteido<nP,o sPiatrisoenE,r rPoarr>s e{E
r r| o ~~~~~^r
>;
| ~~~~~^
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(Parsesrc/rose/position.hppE:rr288o:r53:::in verror: ano template named 'expected' in namespace 'std'li
d_length);
| 288 ~~~~~^ |
std::string_view ply) -> 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: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/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/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
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:288In file included from :53: src/rose/position.cpperror: :no template named 'expected' in namespace 'std'1
:
src/rose/position.hpp:270:53: error: 288no template named 'expected' in namespace 'std' |
s t270d: | : st r isntga_tvici ewa uptloy )p -a>r sset(d:s:tedx:p:esctterd<iPnogs_ivtiieown ,s tPra)r s-e>E rsrtodr:>:;e
x p| e ~~~~~^c
ted<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: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);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_vIn file included from isrc/rose/movegen.cppew: 1p:
lIn file included from ysrc/rose/movegen.hpp:)6 :
-src/rose/position.hpp>: s270t:d53:::e xerror: pno template named 'expected' in namespace 'std'e
cted<Posi ti270o | n, P a rssteaEtrirco r>a;u
t o| ~~~~~^p
arse(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: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/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: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/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.error());
| ~~~~~^
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: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 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/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: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: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: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);
| ~~~~~^
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> {
| ~~~~~^
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> {
| ~~~~~^
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:58:19: error: no member named 'unexpected' in namespace 'std'
58 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
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:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.error());
| ~~~~~^
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/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.
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>;
| ~~~~~^
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);
| ~~~~~^
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: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);
| ~~~~~^
10 errors generated.
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:752:58: error: no template named 'expected' in namespace 'std'
752 | std::string_view ply_str) -> std::expected<Position, ParseError> {
| ~~~~~^
make: *** [Makefile:90: build/native/rel/src/rose/eval/nnue/embedded.o] Error 1
src/rose/position.cpp:766:25:src/rose/position.cpp error: no member named 'unexpected' in namespace 'std':
786:25: error: no member named 'unexpected' in namespace 'std'
766 | 786 | r e t u r n srtedt:u:runn esxtpde:c:tuende(xPpaercsteEerdr(oPra:r:sienvEarlriodr_:c:htaoro)_;m
a n| ~~~~~^y
_pieces);
| ~~~~~^
6 errors generated.
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:770:25: error: no member named 'unexpected' in namespace 'std'
770 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
10 error5s error generated.
s 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:776:25: error: no member named 'unexpected' in namespace 'std'
776 | return std::unexpected(ParseError::too_many_kings);
| ~~~~~^
make: *** [Makefile:74: build/native/rel/src/rose/tt.o] Error 1
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:786:25: error: no member named 'unexpected' in namespace 'std'
786 | return std::unexpected(ParseError::too_many_pieces);
| ~~~~~^
make: *** [Makefile:94: build/native/deb/src/rose/eval/nnue/embedded.o] Error 1
make: *** [Makefile:78: build/native/deb/tests/test_geometry.o] Error 1
src/rose/position.cpp:793:23: error: no member named 'unexpected' in namespace 'std'
793 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
6 errors generated.
9 errors generated.
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/movegen.o] Error 1
src/rose/position.cpp:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/tt.o] Error 1
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
20 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/game.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);
| ~~~~~^
9 errors generated.
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/game.o] Error 1
make: *** [Makefile:74: build/native/rel/src/rose/position.o] Error 1
make: *** [Makefile:78: build/native/deb/tests/test_perft.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_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.
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> {
| ~~~~~^
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> {
| ~~~~~^
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> {
| ~~~~~^
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
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/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:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
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/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);
| ~~~~~^
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
| ~~~~~^
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);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_movegen.o] Error 1
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/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/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/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);
| ~~~~~^
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: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);
| ~~~~~^
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/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: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
| ~~~~~^
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: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);
| ~~~~~^
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/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: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:
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: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/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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/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'src/rose/square.hpp
:64:21: error: no member named 'unexpected' in namespace 'std'
107 | stat ic64 | au t o p ar s er(esttdu:r:nst rstindg:_:viuewn estxrp,e cMotveeFodrm(aPta rfsoerEmrarto, rc:o:nisntv Paosliitidon_&l econngttehx)t;)
-| > ~~~~~^
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/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: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/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/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/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/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: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: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>;
| ~~~~~^
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: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> {
| ~~~~~^
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/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/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/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/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/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>;
| ~~~~~^
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: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'
src/rose/position.hpp:288:53: error: 279no template named 'expected' in namespace 'std' |
return s288t | d :: u n e x p e c t e d ( P a rs e Er r o srt:d::i:nsvtarliidn_gl_evnigetwh) ;p
l y| ) ~~~~~^
-> 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);
| ~~~~~^
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: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.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/perft.o] Error 1
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/main.o] Error 1
make: *** [Makefile:73: build/native/rel/src/rose/engine.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:73: build/native/rel/src/rose/cmd/bench.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/main.o] Error 1
make: *** [Makefile:77: build/native/deb/src/rose/engine.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