0 CXX test/fuzz/libtest_fuzz_a-fuzz.o
1In file included from test/fuzz/fuzz.cpp:5:
2In file included from ./test/fuzz/fuzz.h:8:
3In file included from ./span.h:8:
4In file included from /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
5In file included from /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:495:
6In file included from /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/bind_front.h:14:
7In file included from /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/perfect_forward.h:14:
8/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:1522:7: error: no matching constructor for initialization of 'FuzzTarget'
9 second(_VSTD::forward<_Args2>(_VSTD::get<_I2>(__second_args))...)
10 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:252:11: note: in instantiation of function template specialization 'std::pair<const std::string_view, FuzzTarget>::pair<const std::string_view &, std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&, 0UL, 0UL, 1UL>' requested here
12 : pair(__pc, __first_args, __second_args,
13 ^
14/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/construct_at.h:37:38: note: in instantiation of function template specialization 'std::pair<const std::string_view, FuzzTarget>::pair<const std::string_view &, std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&>' requested here
15 return ::new ((void*)__location) _Tp(_VSTD::forward<_Args>(__args)...);
16 ^
17/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:298:16: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::string_view, FuzzTarget>, const std::piecewise_construct_t &, std::tuple<const std::string_view &>, std::tuple<std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&>, std::pair<const std::string_view, FuzzTarget> *>' requested here
18 _VSTD::construct_at(__p, _VSTD::forward<_Args>(__args)...);
19 ^
20/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:2136:20: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__tree_node<std::__value_type<std::string_view, FuzzTarget>, void *>>>::construct<std::pair<const std::string_view, FuzzTarget>, const std::piecewise_construct_t &, std::tuple<const std::string_view &>, std::tuple<std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&>, void, void>' requested here
21 __node_traits::construct(__na, _NodeTypes::__get_ptr(__h->__value_), _VSTD::forward<_Args>(__args)...);
22 ^
23/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:2098:29: note: in instantiation of function template specialization 'std::__tree<std::__value_type<std::string_view, FuzzTarget>, std::__map_value_compare<std::string_view, std::__value_type<std::string_view, FuzzTarget>, std::less<std::string_view>, true>, std::allocator<std::__value_type<std::string_view, FuzzTarget>>>::__construct_node<const std::piecewise_construct_t &, std::tuple<const std::string_view &>, std::tuple<std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&>>' requested here
24 __node_holder __h = __construct_node(_VSTD::forward<_Args>(__args)...);
25 ^
26/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/map:1235:24: note: in instantiation of function template specialization 'std::__tree<std::__value_type<std::string_view, FuzzTarget>, std::__map_value_compare<std::string_view, std::__value_type<std::string_view, FuzzTarget>, std::less<std::string_view>, true>, std::allocator<std::__value_type<std::string_view, FuzzTarget>>>::__emplace_unique_key_args<std::string_view, const std::piecewise_construct_t &, std::tuple<const std::string_view &>, std::tuple<std::function<void (Span<const unsigned char>)> &&, FuzzTargetOptions &&>>' requested here
27 return __tree_.__emplace_unique_key_args(__k,
28 ^
29test/fuzz/fuzz.cpp:70:37: note: in instantiation of function template specialization 'std::map<std::string_view, FuzzTarget>::try_emplace<std::function<void (Span<const unsigned char>)>, FuzzTargetOptions>' requested here
30 const auto it_ins{FuzzTargets().try_emplace(name, std::move(target), std::move(opts))};
31 ^
32test/fuzz/fuzz.cpp:57:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
33struct FuzzTarget {
34 ^
35test/fuzz/fuzz.cpp:57:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
36test/fuzz/fuzz.cpp:57:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
371 error generated.