Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems that cause CI not pass #852

Open
havedifficultyinfindingnames opened this issue Sep 28, 2024 · 11 comments
Open

Problems that cause CI not pass #852

havedifficultyinfindingnames opened this issue Sep 28, 2024 · 11 comments
Assignees

Comments

@havedifficultyinfindingnames
Copy link
Collaborator

Files not to be compiled in CI is temporarily commented out. Problems are listed below

@havedifficultyinfindingnames
Copy link
Collaborator Author

[74/818] Building CXX object CMakeFiles\benchmark.0002.file_io_tsc.time.iobuf_io_file_eol.dir\benchmark\0002.file_io_tsc\time\iobuf_io_file_eol.cc.obj
FAILED: CMakeFiles/benchmark.0002.file_io_tsc.time.iobuf_io_file_eol.dir/benchmark/0002.file_io_tsc/time/iobuf_io_file_eol.cc.obj
C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14411.341\bin\Hostx64\x64\cl.exe /nologo /TP -ID:\a\fast_io\fast_io\include /fsanitize=address /EHsc /O2 /Ob2 /DNDEBUG -std:c++latest -MD /showIncludes /FoCMakeFiles\benchmark.0002.file_io_tsc.time.iobuf_io_file_eol.dir\benchmark\0002.file_io_tsc\time\iobuf_io_file_eol.cc.obj /FdCMakeFiles\benchmark.0002.file_io_tsc.time.iobuf_io_file_eol.dir\ /FS -c D:\a\fast_io\fast_io\benchmark\0002.file_io_tsc\time\iobuf_io_file_eol.cc
D:\a\fast_io\fast_io\include\fast_io_core_impl\simd\mask_countr.h(143): error C2660: '_mm_movemask_epi8': function does not take 2 arguments
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\include\emmintrin.h(324): note: see declaration of '_mm_movemask_epi8'
D:\a\fast_io\fast_io\include\fast_io_core_impl\simd\mask_countr.h(143): note: while trying to match the argument list '(__m128i, __m128i)'
D:\a\fast_io\fast_io\include\fast_io_core_impl\simd\mask_countr.h(143): note: the template instantiation context (the oldest one first) is
D:\a\fast_io\fast_io\benchmark\0002.file_io_tsc\time\iobuf_io_file_eol.cc(14): note: see reference to function template instantiation 'void fast_io::operations::add_io_decos<fast_io::iobuf_io_file&,fast_io::decorators::native_eol>(T,fast_io::decorators::native_eol)' being compiled
with
[
T=fast_io::iobuf_io_file &
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\decofilter.h(219): note: see reference to function template instantiation 'void fast_io::operations::decay::add_io_decos_decay<fast_io::basic_general_io_file_ref<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>>,fast_io::decorators::native_eol>(T,fast_io::decorators::native_eol)' being compiled
with
[
T=fast_io::basic_general_io_file_ref<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\decofilter.h(107): note: see reference to function template instantiation 'void fast_io::operations::decay::io_stream_add_deco_filter_decay<T,fast_io::decorators::native_eol>(T,P)' being compiled
with
[
T=fast_io::basic_general_io_file_ref<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>>,
P=fast_io::decorators::native_eol
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\decofilter.h(85): note: see reference to function template instantiation 'void fast_io::io_stream_add_deco_filter_define<char,char,fast_io::native_thread_local_allocator,fast_io::decorators::native_eol&>(fast_io::basic_general_io_file_ref<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>>,dectref)' being compiled
with
[
dectref=fast_io::decorators::native_eol &
]
D:\a\fast_io\fast_io\include\fast_io_hosted/io_file.h(360): note: see reference to function template instantiation 'fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>::basic_general_io_file<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>,fast_io::decorators::native_eol&,fast_io::basic_general_io_file<inchar_type,outchar_type,fast_io::native_thread_local_allocator>>(fast_io::io_cookie_type_t<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<inchar_type,outchar_type,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>,fast_io::decorators::native_eol &,fast_io::basic_general_io_file<inchar_type,outchar_type,fast_io::native_thread_local_allocator> &&)' being compiled
with
[
inchar_type=char,
outchar_type=char
]
D:\a\fast_io\fast_io\include\fast_io_hosted/io_file.h(300): note: see reference to function template instantiation 'fast_io::basic_io_io_base<inchar_type,outchar_type> *fast_io::details::create_io_file_handle_impl<char,char,fast_io::native_thread_local_allocator,fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<inchar_type,outchar_type,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>,fast_io::decorators::native_eol&,T>(fast_io::decorators::native_eol &,T &&)' being compiled
with
[
inchar_type=char,
outchar_type=char,
T=fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>
]
D:\a\fast_io\fast_io\include\fast_io_hosted/io_file.h(282): note: see reference to class template instantiation 'fast_io::basic_io_io_derived<char,char,fast_io::native_thread_local_allocator,fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>' being compiled
with
[
inchar_type=char,
outchar_type=char
]
D:\a\fast_io\fast_io\include\fast_io_hosted/io_file.h(41): note: while compiling class template member function 'fast_io::io_scatter_status_t fast_io::basic_io_io_derived<char,char,fast_io::native_thread_local_allocator,fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>::scatter_read_some_underflow_def(const fast_io::basic_io_scatter_t *,size_t)'
with
[
inchar_type=char,
outchar_type=char
]
D:\a\fast_io\fast_io\include\fast_io_hosted/io_file.h(49): note: see reference to function template instantiation 'fast_io::io_scatter_status_t fast_io::operations::decay::scatter_read_some_decay<fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>>(instmtype,const fast_io::basic_io_scatter_t *,size_t)' being compiled
with
[
inchar_type=char,
outchar_type=char,
instmtype=fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,char,char,131072,131072>,fast_io::decorators::native_eol &>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\decay.h(37): note: see reference to function template instantiation 'fast_io::io_scatter_status_t fast_io::details::scatter_read_some_impl(instmtype,const fast_io::basic_io_scatter_t *,size_t)' being compiled
with
[
instmtype=fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,char,char,131072,131072>,fast_io::decorators::native_eol &>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\scatter.h(201): note: see reference to function template instantiation 'fast_io::io_scatter_status_t fast_io::details::scatter_read_some_cold_impl(instmtype,const fast_io::basic_io_scatter_t *,size_t)' being compiled
with
[
instmtype=fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,char,char,131072,131072>,fast_io::decorators::native_eol &>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\scatter.h(72): note: see reference to function template instantiation 'char *fast_io::details::read_some_impl(instmtype,char *,char *)' being compiled
with
[
instmtype=fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,char,char,131072,131072>,fast_io::decorators::native_eol &>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\basis.h(528): note: see reference to function template instantiation 'char *fast_io::details::read_some_cold_impl(instmtype,char *,char *)' being compiled
with
[
instmtype=fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,char,char,131072,131072>,fast_io::decorators::native_eol &>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\basis.h(57): note: see reference to function template instantiation 'char *fast_io::read_until_eof_underflow_define<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<char,char,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>(fast_io::basic_io_deco_filter_ref<fast_io::basic_io_deco_filter<fast_io::basic_general_io_file<inchar_type,outchar_type,fast_io::native_thread_local_allocator>,fast_io::basic_io_buffer_traits<(fast_io::buffer_mode)3,fast_io::native_global_allocator,inchar_type,outchar_type,131072,131072>,fast_io::decorators::native_eol &>>,char *,char *)' being compiled
with
[
inchar_type=char,
outchar_type=char
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\io_deco_filter\read.h(68): note: see reference to function template instantiation 'input_char_type *fast_io::details::decoread_until_eof_underflow_define_impl<fast_io::generic_allocator_adapter<fast_io::c_malloc_allocator>,131072,fast_io::basic_general_io_io_observer<char,char>,fast_io::basic_bidirectional_decorator_adaptor_ref<fast_io::basic_bidirectional_decorator_adaptor<fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::crlf,fast_io::decorators::eol_scheme::lf>,fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::lf,fast_io::decorators::eol_scheme::crlf>>>,char>(instmtype,indecotype,fast_io::basic_io_buffer_pointers &,input_char_type *,input_char_type *)' being compiled
with
[
input_char_type=char,
instmtype=fast_io::basic_general_io_io_observer<char,char>,
indecotype=fast_io::basic_bidirectional_decorator_adaptor_ref<fast_io::basic_bidirectional_decorator_adaptor<fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::crlf,fast_io::decorators::eol_scheme::lf>,fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::lf,fast_io::decorators::eol_scheme::crlf>>>
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\io_deco_filter\read.h(54): note: see reference to function template instantiation 'input_char_type *fast_io::details::decoread_until_eof_underflow_define_sz_impl<fast_io::generic_allocator_adapter<fast_io::c_malloc_allocator>,instmtype,indecotype,input_char_type>(instmtype,indecotype,fast_io::basic_io_buffer_pointers &,input_char_type *,input_char_type *,size_t)' being compiled
with
[
input_char_type=char,
instmtype=fast_io::basic_general_io_io_observer<char,char>,
indecotype=fast_io::basic_bidirectional_decorator_adaptor_ref<fast_io::basic_bidirectional_decorator_adaptor<fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::crlf,fast_io::decorators::eol_scheme::lf>,fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::lf,fast_io::decorators::eol_scheme::crlf>>>
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\io_deco_filter\read.h(29): note: see reference to function template instantiation 'fast_io::deco_result<T,input_char_type> fast_io::basic_bidirectional_decorator_adaptor_ref<fast_io::basic_bidirectional_decorator_adaptor<fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::crlf,fast_io::decorators::eol_scheme::lf>,fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::lf,fast_io::decorators::eol_scheme::crlf>>>::input_process_chars<input_char_type,T>(const output_char_type *,const output_char_type *,input_char_type *,input_char_type *)' being compiled
with
[
T=char,
input_char_type=char,
output_char_type=char
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\decorators\bidirectional_decorator_adaptor.h(32): note: see reference to function template instantiation 'fast_io::deco_result<T,input_char_type> fast_io::decorators::basic_eol_converter<fast_io::decorators::eol_scheme::crlf,fast_io::decorators::eol_scheme::lf>::process_chars<output_char_type>(const char_type *,const char_type *,char_type *,char_type *) noexcept' being compiled
with
[
T=char,
input_char_type=char,
output_char_type=char,
char_type=char
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\decorators\eol.h(96): note: see reference to function template instantiation 'fast_io::deco_result<T,input_char_type> fast_io::details::simd_crlf_lf_process_chars<false,char_type>(const char_type *,const char_type *,char_type *,char_type *) noexcept' being compiled
with
[
T=char,
input_char_type=char,
char_type=char
]
D:\a\fast_io\fast_io\include\fast_io_freestanding_impl\decorators\eol_simd.h(132): note: see reference to function template instantiation 'unsigned int fast_io::intrinsics::vector_mask_countr_one<char_type,16>(const fast_io::intrinsics::simd_vector<char_type,16> &) noexcept' being compiled
with
[
char_type=fast_io::details::scan_single_impl::char_type
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\simd\mask_countr.h(231): note: see reference to function template instantiation 'unsigned int fast_io::details::vector_mask_countr_common_impl<false,char_type,16>(const fast_io::intrinsics::simd_vector<char_type,16> &) noexcept' being compiled
with
[
char_type=fast_io::details::scan_single_impl::char_type
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\simd\mask_countr.h(204): note: see reference to function template instantiation 'unsigned int fast_io::details::vector_mask_countr_common_intrinsics_impl<false,char_type,16>(const fast_io::intrinsics::simd_vector<char_type,16> &) noexcept' being compiled
with
[
char_type=fast_io::details::scan_single_impl::char_type
]

@havedifficultyinfindingnames
Copy link
Collaborator Author

havedifficultyinfindingnames commented Sep 28, 2024

benchmark/0002.file_io_tsc/time/.test_ignore
TODO: crash. why?
iobuf_file_lockable_big.cc
iobuf_file_bin.cc

@havedifficultyinfindingnames
Copy link
Collaborator Author

benchmark/0011.containers/list/0000.algos/.test_ignore
TODO: unimplemented constructor
fast_io.cc

@havedifficultyinfindingnames
Copy link
Collaborator Author

[254/778] Building CXX object CMakeFiles\examples.0001.helloworld.helloworld_dbg.dir\examples\0001.helloworld\helloworld_dbg.cc.obj
FAILED: CMakeFiles/examples.0001.helloworld.helloworld_dbg.dir/examples/0001.helloworld/helloworld_dbg.cc.obj
C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14411.341\bin\Hostx64\x64\cl.exe /nologo /TP -ID:\a\fast_io\fast_io\include /fsanitize=address /EHsc /Zi /Ob0 /Od /RTC1 -std:c++latest -MDd /showIncludes /FoCMakeFiles\examples.0001.helloworld.helloworld_dbg.dir\examples\0001.helloworld\helloworld_dbg.cc.obj /FdCMakeFiles\examples.0001.helloworld.helloworld_dbg.dir\ /FS -c D:\a\fast_io\fast_io\examples\0001.helloworld\helloworld_dbg.cc
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\print_freestanding.h(618): error C2338: static_assert failed: 'type not printable'
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\print_freestanding.h(618): note: the template instantiation context (the oldest one first) is
D:\a\fast_io\fast_io\examples\0001.helloworld\helloworld_dbg.cc(7): note: see reference to function template instantiation 'void fast_io::io::print<fast_io::nt_dbg,const char(&)[42]>(T &&,const char (&)[42])' being compiled
with
[
T=fast_io::nt_dbg
]
D:\a\fast_io\fast_io\include\fast_io_legacy_impl/io.h(40): note: see reference to function template instantiation 'void fast_io::details::print_after_io_print_forward<false,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t>(fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t)' being compiled
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\defined_types.h(92): note: see reference to function template instantiation 'void fast_io::operations::decay::print_freestanding_decay<false,fast_io::c_io_observer,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t>(outputstmtype,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t)' being compiled
with
[
outputstmtype=fast_io::c_io_observer
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\print_freestanding.h(1312): note: see reference to function template instantiation 'void fast_io::operations::decay::print_freestanding_decay<false,fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t>(outputstmtype,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t)' being compiled
with
[
outputstmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\print_freestanding.h(1317): note: see reference to function template instantiation 'void fast_io::details::decay::print_controls_buffer_impl<false,outputstmtype,0,fast_io::io_print_forward::no_cvref_t,fast_io::io_print_forward::no_cvref_t>(outputstmtype,T,fast_io::io_print_forward::no_cvref_t)' being compiled
with
[
outputstmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,
T=fast_io::io_print_forward::no_cvref_t
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\print_freestanding.h(1271): note: see reference to function template instantiation 'void fast_io::details::decay::print_control_single<false,outputstmtype,T>(output,T)' being compiled
with
[
outputstmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,
T=fast_io::io_print_forward::no_cvref_t,
output=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]

@havedifficultyinfindingnames
Copy link
Collaborator Author

examples/0006.file_io/.test_ignore
ibuf_file.cc # TODO: transmit api changes

@havedifficultyinfindingnames
Copy link
Collaborator Author

[279/762] Building CXX object CMakeFiles/examples.0030.binary_serialization.lec559_lebe.dir/examples/0030.binary_serialization/lec559_lebe.cc.o
FAILED: CMakeFiles/examples.0030.binary_serialization.lec559_lebe.dir/examples/0030.binary_serialization/lec559_lebe.cc.o
/usr/bin/c++ -I/home/runner/work/fast_io/fast_io/include -fsanitize=address,undefined -Wall -Wextra -Wpedantic -Wmisleading-indentation -Wunused -Wuninitialized -Wshadow -Wconversion -Werror -O3 -DNDEBUG -std=c++23 -MD -MT CMakeFiles/examples.0030.binary_serialization.lec559_lebe.dir/examples/0030.binary_serialization/lec559_lebe.cc.o -MF CMakeFiles/examples.0030.binary_serialization.lec559_lebe.dir/examples/0030.binary_serialization/lec559_lebe.cc.o.d -o CMakeFiles/examples.0030.binary_serialization.lec559_lebe.dir/examples/0030.binary_serialization/lec559_lebe.cc.o -c /home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc: In instantiation of ‘void test(T) [with T = float]’:
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:42:6: required from here
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:13:36: error: ‘std::string fast_io::concat(Args&& ...) [with Args = {fast_io::manipulators::basic_lebe_get_put<std::endian::little, fast_io::manipulators::basic_lebe_put_integral<32, unsigned int> >}; std::string = std::__cxx11::basic_string]’ is deprecated: use ::fast_io::concat_std instead [-Werror=deprecated-declarations]
13 | auto buffer{fast_io::concat(iec559_le_put(u1))};
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /home/runner/work/fast_io/fast_io/include/fast_io_unit/string_impl/impl.h:15,
from /home/runner/work/fast_io/fast_io/include/fast_io_unit/string.h:3,
from /home/runner/work/fast_io/fast_io/include/fast_io_hosted.h:108,
from /home/runner/work/fast_io/fast_io/include/fast_io.h:9,
from /home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:4:
/home/runner/work/fast_io/fast_io/include/fast_io_unit/string_impl/concat.h:12:9: note: declared here
12 | concat(Args &&...args)
| ^~~~~~
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc: In instantiation of ‘void test(T) [with T = double]’:
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:44:6: required from here
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:13:36: error: ‘std::string fast_io::concat(Args&& ...) [with Args = {fast_io::manipulators::basic_lebe_get_put<std::endian::little, fast_io::manipulators::basic_lebe_put_integral<64, long unsigned int> >}; std::string = std::__cxx11::basic_string]’ is deprecated: use ::fast_io::concat_std instead [-Werror=deprecated-declarations]
13 | auto buffer{fast_io::concat(iec559_le_put(u1))};
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /home/runner/work/fast_io/fast_io/include/fast_io_unit/string_impl/impl.h:15,
from /home/runner/work/fast_io/fast_io/include/fast_io_unit/string.h:3,
from /home/runner/work/fast_io/fast_io/include/fast_io_hosted.h:108,
from /home/runner/work/fast_io/fast_io/include/fast_io.h:9,
from /home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:4:
/home/runner/work/fast_io/fast_io/include/fast_io_unit/string_impl/concat.h:12:9: note: declared here
12 | concat(Args &&...args)
| ^~~~~~
In file included from /home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/readimpl/impl.h:3,
from /home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/impl.h:10,
from /home/runner/work/fast_io/fast_io/include/fast_io_core.h:80,
from /home/runner/work/fast_io/fast_io/include/fast_io_freestanding.h:12,
from /home/runner/work/fast_io/fast_io/include/fast_io_hosted.h:18,
from /home/runner/work/fast_io/fast_io/include/fast_io.h:9,
from /home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:4:
/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/readimpl/basis.h: In instantiation of ‘constexpr void fast_io::details::read_all_impl(instmtype, typename instmtype::input_char_type*, typename instmtype::input_char_type*) [with instmtype = fast_io::basic_ibuffer_view; typename instmtype::input_char_type = char]’:
/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/readimpl/decay.h:17:35: required from ‘constexpr void fast_io::operations::decay::read_all_decay(instmtype, typename instmtype::input_char_type*, typename instmtype::input_char_type*) [with instmtype = fast_io::basic_ibuffer_view; typename instmtype::input_char_type = char]’
/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/scan_freestanding.h:212:50: required from ‘constexpr bool fast_io::details::scan_single_impl(input, T) [with input = fast_io::basic_ibuffer_view; T = fast_io::manipulators::basic_lebe_get_put<std::endian::little, fast_io::manipulators::basic_lebe_get_integral<32, float> >]’
/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/scan_freestanding.h:334:47: required from ‘constexpr decltype(auto) fast_io::operations::decay::scan_freestanding_decay(input, Args ...) [with input = fast_io::basic_ibuffer_view; Args = {fast_io::manipulators::basic_lebe_get_put<std::endian::little, fast_io::manipulators::basic_lebe_get_integral<32, float> >}]’
/home/runner/work/fast_io/fast_io/include/fast_io_legacy_impl/io.h:330:62: required from ‘constexpr std::conditional_t<report, bool, void> fast_io::io::scan(input&&, Args&& ...) [with bool report = false; input = fast_io::basic_ibuffer_view; Args = {fast_io::manipulators::basic_lebe_get_put<std::endian::little, fast_io::manipulators::basic_lebe_get_integral<32, float> >}; std::conditional_t<report, bool, void> = void]’
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:14:6: required from ‘void test(T) [with T = float]’
/home/runner/work/fast_io/fast_io/examples/0030.binary_serialization/lec559_lebe.cc:42:6: required from here
/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/readimpl/basis.h:548:53: error: invalid conversion from ‘const char*’ to ‘char_type*’ {aka ‘char*’} [-fpermissive]
548 | char_type curr{ibuffer_curr(insm)};
| ~~~~~~~~~~~~^~~~~~
| |
| const char

/home/runner/work/fast_io/fast_io/include/fast_io_core_impl/operations/readimpl/basis.h:549:50: error: invalid conversion from ‘const char*’ to ‘char_type*’ {aka ‘char*’} [-fpermissive]
549 | char_type ed{ibuffer_end(insm)};
| ~~~~~~~~~~~^~~~~~
| |
| const char

cc1plus: all warnings being treated as errors

@havedifficultyinfindingnames
Copy link
Collaborator Author

[406/690] Building CXX object CMakeFiles\examples.0027.filelock.buffered_file_with_file_lock.dir\examples\0027.filelock\buffered_file_with_file_lock.cc.obj
FAILED: CMakeFiles/examples.0027.filelock.buffered_file_with_file_lock.dir/examples/0027.filelock/buffered_file_with_file_lock.cc.obj
C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14411.341\bin\Hostx64\x64\cl.exe /nologo /TP -ID:\a\fast_io\fast_io\include /fsanitize=address /EHsc /Zi /Ob0 /Od /RTC1 -std:c++latest -MDd /showIncludes /FoCMakeFiles\examples.0027.filelock.buffered_file_with_file_lock.dir\examples\0027.filelock\buffered_file_with_file_lock.cc.obj /FdCMakeFiles\examples.0027.filelock.buffered_file_with_file_lock.dir\ /FS -c D:\a\fast_io\fast_io\examples\0027.filelock\buffered_file_with_file_lock.cc
D:\a\fast_io\fast_io\include\fast_io_core_impl/utils.h(86): error C2672: 'flush': no matching overloaded function found
D:\a\fast_io\fast_io\include\fast_io_hosted\platforms\win32.h(695): note: could be 'void fast_io::flush(fast_io::basic_win32_family_io_observer<family,ch_type>)'
D:\a\fast_io\fast_io\include\fast_io_core_impl/utils.h(86): note: 'void fast_io::flush(fast_io::basic_win32_family_io_observer<family,ch_type>)': could not deduce template argument for 'fast_io::basic_win32_family_io_observer<family,ch_type>' from 'fast_io::basic_io_buffer<fast_io::basic_file_wrapper<fast_io::basic_win32_family_file<fast_io::win32_family::wide_nt,char>,fast_io::open_mode::out>,fast_io::basic_io_buffer_traits<fast_io::buffer_mode::out,fast_io::native_global_allocator,void,char,0,131072>>'
D:\a\fast_io\fast_io\include\fast_io_hosted\platforms\nt.h(770): note: or 'void fast_io::flush(fast_io::basic_nt_family_io_observer<family,ch_type>)'
D:\a\fast_io\fast_io\include\fast_io_core_impl/utils.h(86): note: 'void fast_io::flush(fast_io::basic_nt_family_io_observer<family,ch_type>)': could not deduce template argument for 'fast_io::basic_nt_family_io_observer<family,ch_type>' from 'fast_io::basic_io_buffer<fast_io::basic_file_wrapper<fast_io::basic_win32_family_file<fast_io::win32_family::wide_nt,char>,fast_io::open_mode::out>,fast_io::basic_io_buffer_traits<fast_io::buffer_mode::out,fast_io::native_global_allocator,void,char,0,131072>>'
D:\a\fast_io\fast_io\include\fast_io_core_impl/utils.h(86): note: the template instantiation context (the oldest one first) is
D:\a\fast_io\fast_io\examples\0027.filelock\buffered_file_with_file_lock.cc(11): note: see reference to class template instantiation 'fast_io::io_flush_guard<fast_io::obuf_file>' being compiled
D:\a\fast_io\fast_io\include\fast_io_core_impl/utils.h(78): note: while compiling class template member function 'fast_io::io_flush_guard<fast_io::obuf_file>::io_flush_guard(void) noexcept'
D:\a\fast_io\fast_io\examples\0027.filelock\buffered_file_with_file_lock.cc(11): note: see the first reference to 'fast_io::io_flush_guard<fast_io::obuf_file>::io_flush_guard' in 'main'
[407/690] Building CXX object CMakeFiles\examples.0027.filelock.buffer_lock.dir\examples\0027.filelock\buffer_lock.cc.obj
FAILED: CMakeFiles/examples.0027.filelock.buffer_lock.dir/examples/0027.filelock/buffer_lock.cc.obj
C:\PROGRA
1\MICROS
2\2022\ENTERP1\VC\Tools\MSVC\14411.341\bin\Hostx64\x64\cl.exe /nologo /TP -ID:\a\fast_io\fast_io\include /fsanitize=address /EHsc /Zi /Ob0 /Od /RTC1 -std:c++latest -MDd /showIncludes /FoCMakeFiles\examples.0027.filelock.buffer_lock.dir\examples\0027.filelock\buffer_lock.cc.obj /FdCMakeFiles\examples.0027.filelock.buffer_lock.dir\ /FS -c D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): error C2672: 'file_lock': no matching overloaded function found
D:\a\fast_io\fast_io\include\fast_io_hosted\platforms\win32.h(916): note: could be 'conditional<family==fast_io::win32_family::ansi_9x,fast_io::nop_file_lock,fast_io::nt_file_lock>::type fast_io::file_lock(fast_io::basic_win32_family_io_observer<family,ch_type>) noexcept'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): note: 'conditional<family==fast_io::win32_family::ansi_9x,fast_io::nop_file_lock,fast_io::nt_file_lock>::type fast_io::file_lock(fast_io::basic_win32_family_io_observer<family,ch_type>) noexcept': could not deduce template argument for 'fast_io::basic_win32_family_io_observer<family,ch_type>' from 'fast_io::obuf_file'
D:\a\fast_io\fast_io\include\fast_io_hosted\platforms\nt.h(1068): note: or 'fast_io::nt_family_file_lock fast_io::file_lock(fast_io::basic_nt_family_io_observer<family,ch_type>) noexcept'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): note: 'fast_io::nt_family_file_lock fast_io::file_lock(fast_io::basic_nt_family_io_observer<family,ch_type>) noexcept': could not deduce template argument for 'fast_io::basic_nt_family_io_observer<family,ch_type>' from 'fast_io::obuf_file'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): error C2641: cannot deduce template arguments for 'fast_io::file_lock_guard'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): error C2784: 'fast_io::file_lock_guard<FilelockT,RequestT> fast_io::file_lock_guard(const fast_io::file_lock_guard<FilelockT,RequestT> &)': could not deduce template argument for 'const fast_io::file_lock_guard<FilelockT,RequestT> &' from 'fast_io::flock_request_l64'
D:\a\fast_io\fast_io\include\fast_io_core_impl\enums\flock.h(56): note: see declaration of 'fast_io::file_lock_guard'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): error C2780: 'fast_io::file_lock_guard<FilelockT,RequestT> fast_io::file_lock_guard(const FilelockT &,const RequestT &)': expects 2 arguments - 1 provided
D:\a\fast_io\fast_io\include\fast_io_core_impl\enums\flock.h(51): note: see declaration of 'fast_io::file_lock_guard'
D:\a\fast_io\fast_io\examples\0027.filelock\buffer_lock.cc(9): error C2784: 'fast_io::file_lock_guard<FilelockT,RequestT> fast_io::file_lock_guard(fast_io::file_lock_guard<FilelockT,RequestT>)': could not deduce template argument for 'fast_io::file_lock_guard<FilelockT,RequestT>' from 'fast_io::flock_request_l64'
D:\a\fast_io\fast_io\include\fast_io_core_impl\enums\flock.h(45): note: see declaration of 'fast_io::file_lock_guard'

@havedifficultyinfindingnames
Copy link
Collaborator Author

tests/0013.pr_rsv/.testignore
pr_rsv.cc # also require it's failure?

@trcrsired
Copy link
Member

不知道

@havedifficultyinfindingnames
Copy link
Collaborator Author

[474/556] Building CXX object CMakeFiles\tests.0021.binary_serialization.le_get32.dir\tests\0021.binary_serialization\le_get32.cc.obj
FAILED: CMakeFiles/tests.0021.binary_serialization.le_get32.dir/tests/0021.binary_serialization/le_get32.cc.obj
C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14411.341\bin\Hostx64\x64\cl.exe /nologo /TP -ID:\a\fast_io\fast_io\include /fsanitize=address /EHsc /Zi /Ob0 /Od /RTC1 -std:c++latest -MDd /showIncludes /FoCMakeFiles\tests.0021.binary_serialization.le_get32.dir\tests\0021.binary_serialization\le_get32.cc.obj /FdCMakeFiles\tests.0021.binary_serialization.le_get32.dir\ /FS -c D:\a\fast_io\fast_io\tests\0021.binary_serialization\le_get32.cc
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\c\wincrt.h(520): error C2664: 'char *fast_io::details::wincrt_fp_read_cold_impl(FILE *__restrict ,char *,size_t)': cannot convert argument 3 from 'char *' to 'size_t'
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\c\wincrt.h(521): note: There is no context in which this conversion is possible
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\c\wincrt.h(290): note: see declaration of 'fast_io::details::wincrt_fp_read_cold_impl'
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\c\wincrt.h(520): note: while trying to match the argument list '(fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>::native_handle_type, char *, char *)'
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\c\wincrt.h(520): note: the template instantiation context (the oldest one first) is
D:\a\fast_io\fast_io\tests\0021.binary_serialization\le_get32.cc(8): note: see reference to function template instantiation 'void fast_io::io::scan<false,fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>,>(input &&)' being compiled
with
[
input=fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>
]
D:\a\fast_io\fast_io\include\fast_io_legacy_impl/io.h(344): note: see reference to function template instantiation 'void fast_io::details::scan_after_io_scan_forward<false,T>(T)' being compiled
with
[
T=fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>
]
D:\a\fast_io\fast_io\include\fast_io_legacy_impl\defined_types.h(134): note: see reference to function template instantiation 'bool fast_io::operations::decay::scan_freestanding_decay<fast_io::c_io_observer,T>(input,T)' being compiled
with
[
T=fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>,
input=fast_io::c_io_observer
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\scan_freestanding.h(330): note: see reference to function template instantiation 'bool fast_io::operations::decay::scan_freestanding_decay<fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,T>(input,T)' being compiled
with
[
T=fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>,
input=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\scan_freestanding.h(334): note: see reference to function template instantiation 'bool fast_io::details::scan_single_impl<input,T>(input,T)' being compiled
with
[
input=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,
T=fast_io::manipulators::basic_lebe_get_put<std::endian::little,fast_io::manipulators::basic_lebe_get_integral<32,uint_least32_t>>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\scan_freestanding.h(184): note: see reference to function template instantiation 'void fast_io::operations::decay::read_all_decay(instmtype,char *,char *)' being compiled
with
[
input=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,
instmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\decay.h(17): note: see reference to function template instantiation 'void fast_io::details::read_all_impl(instmtype,char *,char *)' being compiled
with
[
instmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\basis.h(562): note: see reference to function template instantiation 'void fast_io::details::read_all_cold_impl(instmtype,char *,char *)' being compiled
with
[
instmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\basis.h(325): note: see reference to function template instantiation 'void fast_io::details::read_all_bytes_cold_impl(instmtype,std::byte *,std::byte *)' being compiled
with
[
instmtype=fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>
]
D:\a\fast_io\fast_io\include\fast_io_core_impl\operations\readimpl\basis.h(383): note: see reference to function template instantiation 'std::byte *fast_io::read_some_bytes_underflow_define(fast_io::basic_c_family_io_observer<fast_io::c_family::unlocked,char>,std::byte *,std::byte *)' being compiled

@trcrsired
Copy link
Member

跳过吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants