Compile [2024-11-19 21:43:23 UTC]: fail
"clang++-6.0" -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++17 -stdlib=libc++ -isystem/usr/include/libcxxabi -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux -DBOOST_ALL_NO_LIB=1 -DBOOST_CHARCONV_DYN_LINK=1 -DBOOST_CHARCONV_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/charconv/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/parser/test/compile_seq_attribute.test/clang-linux-6.0~c++17~lc/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/compile_seq_attribute.o" "../libs/parser/test/compile_seq_attribute.cpp"
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:9:
In file included from ../boost/parser/parser_fwd.hpp:9:
In file included from ../boost/parser/config.hpp:92:
../boost/parser/subrange.hpp:65:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] S last_;
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:9:
In file included from ../boost/parser/parser_fwd.hpp:10:
In file included from ../boost/parser/error_handling_fwd.hpp:6:
In file included from ../boost/parser/detail/text/transcode_view.hpp:9:
In file included from ../boost/parser/detail/text/transcode_algorithm.hpp:10:
../boost/parser/detail/text/in_out_result.hpp:19:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] I in;
^
../boost/parser/detail/text/in_out_result.hpp:20:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] O out;
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:9:
In file included from ../boost/parser/parser_fwd.hpp:10:
In file included from ../boost/parser/error_handling_fwd.hpp:6:
In file included from ../boost/parser/detail/text/transcode_view.hpp:9:
In file included from ../boost/parser/detail/text/transcode_algorithm.hpp:11:
In file included from ../boost/parser/detail/text/transcode_iterator.hpp:1776:
../boost/parser/detail/text/unpack.hpp:70:15: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] S last;
^
../boost/parser/detail/text/unpack.hpp:71:15: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] Then then;
^
../boost/parser/detail/text/unpack.hpp:144:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] S last;
^
../boost/parser/detail/text/unpack.hpp:145:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] Repack repack;
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:9:
In file included from ../boost/parser/parser_fwd.hpp:10:
In file included from ../boost/parser/error_handling_fwd.hpp:6:
In file included from ../boost/parser/detail/text/transcode_view.hpp:9:
In file included from ../boost/parser/detail/text/transcode_algorithm.hpp:11:
../boost/parser/detail/text/transcode_iterator.hpp:3265:11: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] S last_ = {};
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
../boost/parser/parser.hpp:1622:15: warning: unknown attribute 'no_unique_address' ignored [-Wunknown-attributes]
[[no_unique_address]] S last_;
^
../boost/parser/parser.hpp:8216:37: error: expected ')'
return (parser_interface{parser1} | parser2).parser_;
^
../boost/parser/parser.hpp:8216:20: note: to match this '('
return (parser_interface{parser1} | parser2).parser_;
^
../boost/parser/parser.hpp:8216:57: error: expected expression
return (parser_interface{parser1} | parser2).parser_;
^
../boost/parser/parser.hpp:786:20: error: no viable constructor or deduction guide for deduction of template arguments of 'parse_context'
return parse_context(
^
../boost/parser/parser.hpp:2367:36: note: in instantiation of function template specialization 'boost::parser::detail::make_context<true, false, const char *, const char *, boost::parser::default_error_handler, const boost::parser::detail::nope>' requested here
auto context = detail::make_context<Debug, false>(
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:20:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:490:13: note: candidate template ignored: deduced type 'integral_constant<[...], UseCallbacks>' of 2nd parameter does not match adjusted type 'integral_constant<[...], false aka false>' of argument [with DoTrace = true, UseCallbacks = false, I = const char *, S = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = const boost::parser::detail::nope, Callbacks = boost::parser::detail::nope, Attr = boost::parser::detail::nope, Val = boost::parser::detail::nope, RuleTag = void, RuleLocals = boost::parser::detail::nope, RuleParams = boost::parser::detail::nope, Where = boost::parser::detail::nope]
parse_context(
^
../boost/parser/parser.hpp:446:13: note: candidate function template not viable: requires 0 arguments, but 10 were provided
parse_context() = default;
^
../boost/parser/parser.hpp:447:13: note: candidate function template not viable: requires 1 argument, but 10 were provided
parse_context(parse_context const &) = default;
^
../boost/parser/parser.hpp:514:13: note: candidate function template not viable: requires 11 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:444:16: note: candidate function template not viable: requires 1 argument, but 10 were provided
struct parse_context
^
../boost/parser/parser.hpp:549:13: note: candidate function template not viable: requires 5 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:595:13: note: candidate function template not viable: requires 3 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:755:20: error: no viable constructor or deduction guide for deduction of template arguments of 'parse_context'
return parse_context(
^
../boost/parser/parser.hpp:9410:46: note: in instantiation of function template specialization 'boost::parser::detail::make_context<false, false, const char *, const char *, boost::parser::default_error_handler>' requested here
using context = decltype(detail::make_context<false, false>(
^
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:20:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:490:13: note: candidate template ignored: deduced type 'integral_constant<[...], UseCallbacks>' of 2nd parameter does not match adjusted type 'integral_constant<[...], false aka false>' of argument [with DoTrace = false, UseCallbacks = false, I = const char *, S = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = boost::parser::detail::nope, Callbacks = boost::parser::detail::nope, Attr = boost::parser::detail::nope, Val = boost::parser::detail::nope, RuleTag = void, RuleLocals = boost::parser::detail::nope, RuleParams = boost::parser::detail::nope, Where = boost::parser::detail::nope]
parse_context(
^
../boost/parser/parser.hpp:446:13: note: candidate function template not viable: requires 0 arguments, but 10 were provided
parse_context() = default;
^
../boost/parser/parser.hpp:447:13: note: candidate function template not viable: requires 1 argument, but 10 were provided
parse_context(parse_context const &) = default;
^
../boost/parser/parser.hpp:514:13: note: candidate function template not viable: requires 11 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:444:16: note: candidate function template not viable: requires 1 argument, but 10 were provided
struct parse_context
^
../boost/parser/parser.hpp:549:13: note: candidate function template not viable: requires 5 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:595:13: note: candidate function template not viable: requires 3 arguments, but 10 were provided
parse_context(
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:11:
In file included from ../boost/parser/error_handling.hpp:5:
../boost/parser/detail/printing.hpp:673:23: error: type 'int' cannot be used prior to '::' because it has no members
if constexpr (Context::do_trace) {
^
../boost/parser/parser.hpp:4144:47: note: in instantiation of function template specialization 'boost::parser::detail::scoped_trace<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, const char *, const char *, int, std::__1::tuple<int> >' requested here
[[maybe_unused]] auto _ = detail::scoped_trace(
^
../boost/parser/parser.hpp:5739:28: note: in instantiation of function template specialization 'boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >::call<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
return parser_.call(first, last, context, skip, flags, success);
^
../boost/parser/parser.hpp:9419:35: note: in instantiation of function template specialization 'boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::operator()<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
using type = decltype(std::declval<Parser>()(
^
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:20:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope>, boost::parser::eps_parser<boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../libs/parser/test/compile_seq_attribute.cpp:21:38: error: use of undeclared identifier 'attr_t'; did you mean 'attr'?
static_assert(std::is_same_v<attr_t, std::optional<int>>);
^~~~~~
attr
../boost/parser/parser.hpp:6610:20: note: 'attr' declared here
constexpr auto attr(Attribute a) noexcept
^
../libs/parser/test/compile_seq_attribute.cpp:21:38: error: template argument for template type parameter must be a type
static_assert(std::is_same_v<attr_t, std::optional<int>>);
^~~~~~
/usr/include/c++/v1/type_traits:835:17: note: template parameter is declared here
template <class _Tp, class _Up> _LIBCPP_CONSTEXPR bool is_same_v
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
../boost/parser/parser.hpp:2367:28: error: no matching function for call to 'make_context'
auto context = detail::make_context<Debug, false>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:25:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:744:14: note: candidate function not viable: 6th argument ('const boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::global_state_type' (aka 'const boost::parser::detail::nope')) would lose const qualifier
auto make_context(
^
../boost/parser/parser.hpp:775:14: note: candidate template ignored: substitution failure [with DoTrace = true, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = const boost::parser::detail::nope]
auto make_context(
^
../boost/parser/parser.hpp:806:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:840:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:786:20: error: no viable constructor or deduction guide for deduction of template arguments of 'parse_context'
return parse_context(
^
../boost/parser/parser.hpp:9410:46: note: in instantiation of function template specialization 'boost::parser::detail::make_context<false, false, const char *, const char *, boost::parser::default_error_handler, boost::parser::detail::nope>' requested here
using context = decltype(detail::make_context<false, false>(
^
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:25:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:490:13: note: candidate template ignored: deduced type 'integral_constant<[...], UseCallbacks>' of 2nd parameter does not match adjusted type 'integral_constant<[...], false aka false>' of argument [with DoTrace = false, UseCallbacks = false, I = const char *, S = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = boost::parser::detail::nope, Callbacks = boost::parser::detail::nope, Attr = boost::parser::detail::nope, Val = boost::parser::detail::nope, RuleTag = void, RuleLocals = boost::parser::detail::nope, RuleParams = boost::parser::detail::nope, Where = boost::parser::detail::nope]
parse_context(
^
../boost/parser/parser.hpp:446:13: note: candidate function template not viable: requires 0 arguments, but 10 were provided
parse_context() = default;
^
../boost/parser/parser.hpp:447:13: note: candidate function template not viable: requires 1 argument, but 10 were provided
parse_context(parse_context const &) = default;
^
../boost/parser/parser.hpp:514:13: note: candidate function template not viable: requires 11 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:444:16: note: candidate function template not viable: requires 1 argument, but 10 were provided
struct parse_context
^
../boost/parser/parser.hpp:549:13: note: candidate function template not viable: requires 5 arguments, but 10 were provided
parse_context(
^
../boost/parser/parser.hpp:595:13: note: candidate function template not viable: requires 3 arguments, but 10 were provided
parse_context(
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:11:
In file included from ../boost/parser/error_handling.hpp:5:
../boost/parser/detail/printing.hpp:673:23: error: type 'int' cannot be used prior to '::' because it has no members
if constexpr (Context::do_trace) {
^
../boost/parser/parser.hpp:4144:47: note: in instantiation of function template specialization 'boost::parser::detail::scoped_trace<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, const char *, const char *, int, std::__1::tuple<int> >' requested here
[[maybe_unused]] auto _ = detail::scoped_trace(
^
../boost/parser/parser.hpp:5739:28: note: in instantiation of function template specialization 'boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >::call<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
return parser_.call(first, last, context, skip, flags, success);
^
../boost/parser/parser.hpp:9419:35: note: in instantiation of function template specialization 'boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::operator()<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
using type = decltype(std::declval<Parser>()(
^
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:25:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::eps_parser<boost::parser::detail::nope>, boost::parser::int_parser<int, 10, 1, -1, boost::parser::detail::nope> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../libs/parser/test/compile_seq_attribute.cpp:26:38: error: use of undeclared identifier 'attr_t'; did you mean 'attr'?
static_assert(std::is_same_v<attr_t, std::optional<int>>);
^~~~~~
attr
../boost/parser/parser.hpp:6610:20: note: 'attr' declared here
constexpr auto attr(Attribute a) noexcept
^
../libs/parser/test/compile_seq_attribute.cpp:26:38: error: template argument for template type parameter must be a type
static_assert(std::is_same_v<attr_t, std::optional<int>>);
^~~~~~
/usr/include/c++/v1/type_traits:835:17: note: template parameter is declared here
template <class _Tp, class _Up> _LIBCPP_CONSTEXPR bool is_same_v
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
../boost/parser/parser.hpp:2367:28: error: no matching function for call to 'make_context'
auto context = detail::make_context<Debug, false>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:32:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:744:14: note: candidate function not viable: 6th argument ('const boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::global_state_type' (aka 'const boost::parser::detail::nope')) would lose const qualifier
auto make_context(
^
../boost/parser/parser.hpp:775:14: note: candidate template ignored: substitution failure [with DoTrace = true, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = const boost::parser::detail::nope]
auto make_context(
^
../boost/parser/parser.hpp:806:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:840:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:9410:38: error: no matching function for call to 'make_context'
using context = decltype(detail::make_context<false, false>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:32:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:744:14: note: candidate template ignored: substitution failure [with DoTrace = false, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler]
auto make_context(
^
../boost/parser/parser.hpp:775:14: note: candidate template ignored: substitution failure [with DoTrace = false, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = boost::parser::detail::nope]
auto make_context(
^
../boost/parser/parser.hpp:806:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:840:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
In file included from ../boost/parser/parser.hpp:11:
In file included from ../boost/parser/error_handling.hpp:5:
../boost/parser/detail/printing.hpp:673:23: error: type 'int' cannot be used prior to '::' because it has no members
if constexpr (Context::do_trace) {
^
../boost/parser/parser.hpp:4144:47: note: in instantiation of function template specialization 'boost::parser::detail::scoped_trace<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, const char *, const char *, int, std::__1::tuple<std::__1::basic_string<char> > >' requested here
[[maybe_unused]] auto _ = detail::scoped_trace(
^
../boost/parser/parser.hpp:5739:28: note: in instantiation of function template specialization 'boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >::call<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
return parser_.call(first, last, context, skip, flags, success);
^
../boost/parser/parser.hpp:9419:35: note: in instantiation of function template specialization 'boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::operator()<const char *, const char *, int, boost::parser::detail::null_parser>' requested here
using type = decltype(std::declval<Parser>()(
^
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:32:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../libs/parser/test/compile_seq_attribute.cpp:33:38: error: use of undeclared identifier 'attr_t'; did you mean 'attr'?
static_assert(std::is_same_v<attr_t, std::optional<std::string>>);
^~~~~~
attr
../boost/parser/parser.hpp:6610:20: note: 'attr' declared here
constexpr auto attr(Attribute a) noexcept
^
../libs/parser/test/compile_seq_attribute.cpp:33:38: error: template argument for template type parameter must be a type
static_assert(std::is_same_v<attr_t, std::optional<std::string>>);
^~~~~~
/usr/include/c++/v1/type_traits:835:17: note: template parameter is declared here
template <class _Tp, class _Up> _LIBCPP_CONSTEXPR bool is_same_v
^
In file included from ../libs/parser/test/compile_seq_attribute.cpp:6:
../boost/parser/parser.hpp:2367:28: error: no matching function for call to 'make_context'
auto context = detail::make_context<Debug, false>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:37:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:744:14: note: candidate function not viable: 6th argument ('const boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>::global_state_type' (aka 'const boost::parser::detail::nope')) would lose const qualifier
auto make_context(
^
../boost/parser/parser.hpp:775:14: note: candidate template ignored: substitution failure [with DoTrace = true, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = const boost::parser::detail::nope]
auto make_context(
^
../boost/parser/parser.hpp:806:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:840:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:9410:38: error: no matching function for call to 'make_context'
using context = decltype(detail::make_context<false, false>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/parser.hpp:2379:45: note: in instantiation of template class 'boost::parser::detail::attribute_impl<boost::parser::subrange<const char *, const char *>, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler> >' requested here
using attr_t = typename detail::attribute_impl<
^
../boost/parser/parser.hpp:8771:32: note: in instantiation of function template specialization 'boost::parser::detail::parse_impl<true, const char *, const char *, boost::parser::parser_interface<boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler>, boost::parser::default_error_handler>' requested here
return detail::parse_impl<true>(
^
../libs/parser/test/compile_seq_attribute.cpp:37:33: note: in instantiation of function template specialization 'boost::parser::prefix_parse<const char *, const char *, boost::parser::seq_parser<std::__1::tuple<const boost::parser::eps_parser<boost::parser::detail::nope>, const boost::parser::char_parser<boost::parser::detail::nope, void>, boost::parser::char_parser<boost::parser::detail::nope, void> >, std::__1::tuple<std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true>, std::__1::integral_constant<bool, true> >, std::__1::tuple<std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0>, std::__1::integral_constant<long long, 0> > >, boost::parser::detail::nope, boost::parser::default_error_handler, void>' requested here
using attr_t = decltype(prefix_parse(first, last, parser));
^
../boost/parser/parser.hpp:744:14: note: candidate template ignored: substitution failure [with DoTrace = false, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler]
auto make_context(
^
../boost/parser/parser.hpp:775:14: note: candidate template ignored: substitution failure [with DoTrace = false, UseCallbacks = false, Iter = const char *, Sentinel = const char *, ErrorHandler = boost::parser::default_error_handler, GlobalState = boost::parser::detail::nope]
auto make_context(
^
../boost/parser/parser.hpp:806:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
../boost/parser/parser.hpp:840:14: note: candidate function template not viable: requires 9 arguments, but 8 were provided
auto make_context(
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
9 warnings and 20 errors generated.