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/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)In file included from -src/rose/move.cpp>: 1s:
tIn file included from dIn file included from src/rose/move.hpp:::src/rose/movegen.cpp4e:
:xsrc/rose/square.hpp1pe::
62In file included from csrc/rose/movegen.hppt::e63d:3<:
SIn file included from error: qsrc/rose/bitboard.hppno template named 'expected' in namespace 'std'u
:a4re:
,src/rose/square.hpp P:a62:r63s e:62E rerror: | rno template named 'expected' in namespace 'std' o
r >s t{a
t i| c ~~~~~^
62c | o n s t esxtpart iacu tcoo npsatresxep(rs tadu:t:os tprairnsge_(vsitedw: :ssttrr)i n-g>_ vsitedw: :setxrp)e c-t>e ds<tSdq:u:aerxep,e cPtaerds<eSEqruraorre>, {P
a r| s ~~~~~^e
Error> {
| ~~~~~^
In file included from src/rose/position.cpp:1:
In file included from src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/game.cpp:1:
In file included from src/rose/game.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
In file included from src/rose/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/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 psrc/rose/square.hppars:e(64s:t21d::: sterror: rino member named 'unexpected' in namespace 'std'
ng_view str) -64> | s t d : : e xrpeetcutredn< Ssqutadr:e:,u nPearxspeeEcrtroerd> ({P
a| r ~~~~~^s
eError::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/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/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'
src/rose/square.hpp:66:21 :62 | error: no member named 'unexpected' in namespace 'std'
static c66 | o ns t e x p r aruettou rpna rstsd:e:(usntedx:p:escttreidn(gP_avriseewE rsrtro)r :-:>i nsvtadl:i:de_xpcehcaterd)<;src/rose/square.hppS
:q 66ua| :r21 ~~~~~^e:
, error: Pno member named 'unexpected' in namespace 'std'a
rseErro r66> | {
| ~~~~~^
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: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.hppsrc/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
:69:21: 71error: | no member named 'unexpected' in namespace 'std'
return fr om69_ | f i le _ a n d _rraetnukr(fni lsted,: :ruannke)x;p
e ct| e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~d
(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | rsrc/rose/square.hppet:ur69n: f21ro:m error: _fno member named 'unexpected' in namespace 'std'i
le_and_rank(f i69le | , r a n k) ;
| r ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e
turn std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
src/rose/square.hpp:71:14: 64error: | no viable conversion from returned value of type 'Square' to function return type 'int'
r71e | t u r n s trde:t:uurnne xfpreocmt_efdi(lPea_rasnedE_rrraonrk:(:fiinlvae,l ird_alnekn)g;t
h );|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ~~~~~^
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 | 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: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/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 In file included from src/rose/movegen.cpp:1src/rose/position.cpp:
:In file included from 1src/rose/movegen.hpp::
5:
In file included from src/rose/position.hppsrc/rose/move.hpp::3:
107In file included from :src/rose/bitboard.hpp:974::
error: src/rose/square.hppno template named 'expected' in namespace 'std':
62:63: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std: :62s | tr i n g _svtiaetwi cs tcr,o nMsotveeFxoprrm aatu tfoo rpmaarts,e (csotnds::ts tProisnigt_iovn&i ecwo ntsextt)r )- >- >s tds:t:de:x:peecxtpeedc<Mtoevde,< SPqaursareeE,r roParr>s;e
E| r ~~~~~^r
or> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | In file included from rsrc/rose/move.cppe:t1ur:
nIn file included from stsrc/rose/move.hppd::4::
usrc/rose/square.hppne:x62p:e63c:t ederror: (no template named 'expected' in namespace 'std'
ParseError::invalid_char);
| ~~~~~^
62 | static constexpr auto parse(std::string_view str) -> std::expected<Squasrc/rose/square.hppr:e71,: 14P:a rerror: sno viable conversion from returned value of type 'Square' to function return type 'int'e
Erro r71> | {
| ~~~~~^
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/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: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'
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
107 | stat 69ic | au t o p a r sree(tsutrdn: :ssttdr:i:nugn_evxipeewc tsetdr(,P aMrosveeFEorrmarto fro:r:miantv,a lciodn_scth aPro)s;i
t i| o ~~~~~^n&
context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:src/rose/square.hpp1::
71In file included from :src/rose/cmd/perft.hpp14::4 :
error: In file included from no viable conversion from returned value of type 'Square' to function return type 'int'
src/rose/position.hpp:3:
In file included from src/rose/bitboard.hpp:4 :
71src/rose/square.hpp | :62 : 63: error: no template named 'expected' in namespace 'std're
turn from_file_and_rank(file, rank);
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'
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'
62 | st at107i | c c o nssttaetxicpr aauuttoo paprasres(es(tsdt:d::s:tsrtirnign_gv_ivewi eswt rs)t r-,> Msotvde:F:oerxmpaetc tfeodr<mSqauta,r ec,o nPsatr sPeoEsrirtoiro>n &{
c o| n ~~~~~^t
ext) -> 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/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:
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: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/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 tests/test_geometry.cpp:1:
In file included from src/rose/board.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
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_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: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: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:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21In file included from : tests/test_tt.cpperror: :2no member named 'unexpected' in namespace 'std'
:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62 :6663 | : error: no template named 'expected' in namespace 'std'
return std::unexpected(ParseError ::i62n | va l i d _scthaatri)c;
c | o ~~~~~^
nstexpr 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/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:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invasrc/rose/square.hppl:71i:d14_c:h aerror: rno viable conversion from returned value of type 'Square' to function return type 'int')
;
| ~~~~~^
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpsrc/rose/square.hppe:cte71d:(14P:ar serror: eno viable conversion from returned value of type 'Square' to function return type 'int'E
rror :71: | i n v a l i dr_elteunrgnt hf)r;o
m _| f ~~~~~^i
le_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: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_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 | rIn file included from etsrc/rose/move.cppu:r1n :
stsrc/rose/move.hppd:::107un:e97x:pe cerror: teno template named 'expected' in namespace 'std'd
(ParseError:: i107nv | a l i d _slteantgitch );a
u | to ~~~~~^
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>;
| ~~~~~^
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/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:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from tests/test_movegen.cpp:1:
In file included from src/rose/movegen.hpp:3:
In file included from src/rose/bitboard.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
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.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
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/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: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: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: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);
| ~~~~~^
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: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/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
In file included from src/rose/position.hpp:9:
src/rose/move.hpp:107:97: error: no template named 'expected' in namespace 'std'
107 | static auto parse(std::string_view str, MoveFormat format, const Position& context) -> std::expected<Move, ParseError>;
| ~~~~~^
In file included from tests/test_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:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from tests/test_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>;
| ~~~~~^
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: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: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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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_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.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/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>;
| ~~~~~^
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_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>;
| ~~~~~^
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: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);
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/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:13:94: error: no template named 'expected' in namespace 'std'
13 | auto Move::parse(std::string_view str, MoveFormat format, const Position& context) -> std::expectesrc/rose/position.hppd<:M279ove:,21 :P aerror: rno member named 'unexpected' in namespace 'std'se
Error> {
| ~~~~~^279
| return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:17:19: error: no member named 'unexpected' in namespace 'std'
17 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
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);
| ~~~~~^
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/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.error());
| ~~~~~^
In file included from src/rose/cmd/perft.cpp:1:
In file included from src/rose/cmd/perft.hpp:4:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
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 | src/rose/position.hpp : 288: 53 : error: no template named 'expected' in namespace 'std'
std::s t288 | r in g _ v i e w p l y ) - > s t d : :setxdp:e:cstterdin<gP_ovsiietwi opnl,y )P ar-s>e Esrtrdo:r>:;e
x p| e ~~~~~^c
ted<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/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/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);
| ~~~~~^
In file included from src/rose/eval/nnue/embedded.cpp:1:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/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_leIn file included from ngtests/test_is_legal.cppth:)3;
:
| src/rose/position.hpp ~~~~~^
:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/move.cpp:58:19: error: no member named 'unexpected' in namespace 'std'
58 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
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: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:60:35: error: no template named 'expected' in namespace 'std'
60 | const auto mf = [&]() -> std::expected<MoveFlags, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | src/rose/move.cpp : 63 : 16 : error: scannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags't
d::str i63n | g _ v i e w p lrye)t u-r>n sctadp:t:uexrep e?c tMeodv<ePoFlsaigtsi:o:nc,a pP_aprrsoemEor_rqo r:> ;M
o v| e ~~~~~^F
lags::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=]
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> {
| ~~~~~^
20 errors generated.
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: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 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:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/move.cpp:21:19: error: no member named 'unexpected' in namespace 'std'
21 | return std::unexpected(from.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/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....
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/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/eval/nnue/embedded.cpp:6:2: error: invalid preprocessing directive
6 | #embed ROSE_NETWORK_FILE
| ^
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:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/move.cpp:34:19: error: no member named 'unexpected' in namespace 'std'
34 | return std::unexpected(ParseError::color_violation);
| ~~~~~^
src/rose/position.hpp: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/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/move.cpp:60:35: error: no template named 'expected' in namespace 'std'
60 | const auto mf = [&]() -> std::expected<MoveFlags, ParseError> {
| ~~~~~^
src/rose/move.cpp:63:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
63 | return capture ? MoveFlags::cap_promo_q : MoveFlags::promo_q;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:65:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
65 | return capture ? MoveFlags::cap_promo_n : MoveFlags::promo_n;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/move.cpp:67:16: error: cannot initialize return object of type 'int' with an rvalue of type 'rose::MoveFlags'
67 | return capture ? MoveFlags::cap_promo_r : MoveFlags::promo_r;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
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:752:58: error: no template named 'expected' in namespace 'std'
752 | std::string_view ply_str) -> std::expected<Position, ParseError> {
| ~~~~~^
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:766:25: error: no member named 'unexpected' in namespace 'std'
766 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/position.cpp:793:23: error: no member named 'unexpected' in namespace 'std'
793 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
5 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:797:21: error: no member named 'unexpected' in namespace 'std'
797 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
6 errors generated.
9 errors generated.
10 errors generated.
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | 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);
| ~~~~~^
9 errors generated.
make: *** [Makefile:78: build/native/deb/tests/test_geometry.o] Error 1
src/rose/position.cpp:812:21: error: no member named 'unexpected' in namespace 'std'
812 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
make: *** [Makefile:74: build/native/rel/src/rose/movegen.o] Error 1
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);
| ~~~~~^
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
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:846:25: error: no member named 'unexpected' in namespace 'std'
846 | return std::unexpected(*err);
| ~~~~~^
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=]
6 errors generated.
src/rose/position.cpp:803:21: error: no member named 'unexpected' in namespace 'std'
803 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
20 errors generated.
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.
9 errors generated.
make: *** [Makefile:78: build/native/deb/src/rose/tt.o] Error 1
9 errors generated.
make: *** [Makefile:74: build/native/rel/src/rose/position.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);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_is_legal.o] Error 1
make: *** [Makefile:78: build/native/deb/src/rose/movegen.o] Error 1
make: *** [Makefile:78: build/native/deb/tests/test_position.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> {
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
make: *** [Makefile:78: build/native/deb/tests/test_perft.o] Error 1
20 errors generated.
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> {
| ~~~~~^
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:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/src/rose/position.o] Error 1
9 errors generated.
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
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> {
| ~~~~~^
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_tt.o] Error 1
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:66:21: error: no member named 'unexpected' in namespace 'std'
66 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:5:
In file included from src/rose/engine_output_xboard.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
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/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> {
| ~~~~~^
make: *** [Makefile:78: build/native/deb/tests/test_movegen.o] Error 1
src/rose/square.hpp:64:21: error: no member named 'unexpected' in namespace 'std'
64 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/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/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/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 src/rose/square.hpps:tr69,: 21M:o verror: eno member named 'unexpected' in namespace 'std'F
ormat f or69m | a t , co ns t P orseitutrionn & sctondt:e:xutn)e x-p>e scttde::de(xPpaercsteeEd<rMroovre:,: iPnavrasleiEdr_rcohra>r;
) | ~~~~~^;
| ~~~~~^
src/rose/square.hppsrc/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
:64:21: 71error: | no member named 'unexpected' in namespace 'std'
return from _64f | i l e _ a n d _rreatnukr(nf islted,: :ruannekx)p;e
c t| e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~d
(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:4:
In file included from src/rose/engine_output.hpp:4:
In file included from src/rose/line.hpp:4:
In file included from src/rose/move.hpp:4:
src/rose/square.hpp:62:63: error: no template named 'expected' in namespace 'std'
62 | static constexpr auto parse(std::string_view str) -> std::expected<Square, ParseError> {
| ~~~~~^
src/rose/square.hpp:69:21: error: no member named 'unexpected' in namespace 'std'
69 | return std::unexpected(ParseError::invalid_char);
| ~~~~~^
src/rose/square.hppsrc/rose/square.hpp::6971::2114: :error: no member named 'unexpected' in namespace 'std'error:
no viable conversion from returned value of type 'Square' to function return type 'int'
71 | 69 | r e t u rn f r orm_eftiulren_ asntdd_:r:aunnekx(pfeicltee,d (rPaanrks)e;E
r r| or ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:
:invalid_char);
| ~~~~~^
src/rose/square.hpp:71:14: error: no viable conversion from returned value of type 'Square' to function return type 'int'
71 | return from_file_and_rank(file, rank);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rose/square.hpp: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 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, MoveFormsrc/rose/square.hppat: 66fo:r21m:a t,error: no member named 'unexpected' in namespace 'std'c
onst Posi t66i | o n & c src/rose/square.hppo: n64: t21 er:xe tt)error: u no member named 'unexpected' in namespace 'std'r
-n> sst td64d: | : :: eu nx ep xpe ec ct teredetd<u(MrPonav ress,te PdEa::rrursnoeeErrx:rp:oeircn>tv;ea
dl | (i ~~~~~^
Pda_rcsheaErr)r;o
r :| : ~~~~~^i
nvalid_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>;
| ~~~~~^
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: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);
| ~~~~~^
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: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: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: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>;
| ~~~~~^
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/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/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/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/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/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:3:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/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>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
In file included from src/rose/cmd/bench.cpp:3:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/interface.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/engine.cpp:6:
In file included from src/rose/eval/nnue/embedded.hpp:3:
In file included from src/rose/eval/nnue/kyanite.hpp:6:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/tool/datagen/datagen.cpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/rose/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/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>;
| ~~~~~^
In file included from src/rose/search.cpp:1:
In file included from src/rose/search.hpp:5:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
In file included from src/main.cpp:1:
In file included from src/rose/interface.hpp:6:
In file included from src/rose/game.hpp:5:
src/rose/position.hpp:270:53: error: no template named 'expected' in namespace 'std'
270 | static auto parse(std::string_view str) -> std::expected<Position, ParseError> {
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp:288:53: error: no template named 'expected' in namespace 'std'
288 | std::string_view ply) -> std::expected<Position, ParseError>;
| ~~~~~^
src/rose/position.hpp: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);
| ~~~~~^
src/rose/position.hpp:279:21: error: no member named 'unexpected' in namespace 'std'
279 | return std::unexpected(ParseError::invalid_length);
| ~~~~~^
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/perft.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/src/rose/cmd/perft.o] Error 1
9 errors generated.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/cmd/bench.o] Error 1
make: *** [Makefile:73: build/native/rel/src/main.o] Error 1
9 errors generated.
9 errors generated.
make: *** [Makefile:73: build/native/rel/src/rose/engine.o] Error 1
9 errors generated.
make: *** [Makefile:77: build/native/deb/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.
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:77: build/native/deb/src/rose/tool/datagen/datagen.o] Error 1
make: *** [Makefile:73: build/native/rel/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