$ g++-mp-13 -pipe -stdlib=libc++ -o t3 t3.cpp In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/__concepts/convertible_to.h:13, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__concepts/common_reference_with.h:12, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__compare/three_way_comparable.h:14, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__compare/compare_three_way.h:13, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/shared_ptr.h:14, from /opt/local/libexec/gcc13/libc++/include/c++/v1/mutex:191, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__locale:18, from /opt/local/libexec/gcc13/libc++/include/c++/v1/ios:221, from /opt/local/libexec/gcc13/libc++/include/c++/v1/iostream:43, from t3.cpp:1: /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:71:8: error: expected identifier before '__is_convertible' 71 | struct __is_convertible | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:71:8: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:77:40: error: expected identifier before '__is_convertible' 77 | template struct __is_convertible<_T1, _T2, 0, 1> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:77:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:78:40: error: expected identifier before '__is_convertible' 78 | template struct __is_convertible<_T1, _T2, 1, 1> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:78:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:79:40: error: expected identifier before '__is_convertible' 79 | template struct __is_convertible<_T1, _T2, 2, 1> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:79:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:80:40: error: expected identifier before '__is_convertible' 80 | template struct __is_convertible<_T1, _T2, 3, 1> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:80:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:82:40: error: expected identifier before '__is_convertible' 82 | template struct __is_convertible<_T1, _T2, 0, 2> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:82:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:83:40: error: expected identifier before '__is_convertible' 83 | template struct __is_convertible<_T1, _T2, 1, 2> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:83:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:84:40: error: expected identifier before '__is_convertible' 84 | template struct __is_convertible<_T1, _T2, 2, 2> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:84:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:85:40: error: expected identifier before '__is_convertible' 85 | template struct __is_convertible<_T1, _T2, 3, 2> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:85:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:87:40: error: expected identifier before '__is_convertible' 87 | template struct __is_convertible<_T1, _T2, 0, 3> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:87:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:88:40: error: expected identifier before '__is_convertible' 88 | template struct __is_convertible<_T1, _T2, 1, 3> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:88:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:89:40: error: expected identifier before '__is_convertible' 89 | template struct __is_convertible<_T1, _T2, 2, 3> : public false_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:89:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:90:40: error: expected identifier before '__is_convertible' 90 | template struct __is_convertible<_T1, _T2, 3, 3> : public true_type {}; | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:90:40: error: expected unqualified-id before '__is_convertible' /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:93:14: error: expected class-name before '__is_convertible' 93 | : public __is_convertible<_T1, _T2> | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:93:14: error: expected '{' before '__is_convertible' In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/new:96, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/construct_at.h:23, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/allocator_traits.h:14, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/allocation_guard.h:14, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/shared_ptr.h:22: /opt/local/libexec/gcc13/libc++/include/c++/v1/cstdlib:144:9: error: 'at_quick_exit' has not been declared in '::' 144 | using ::at_quick_exit _LIBCPP_USING_IF_EXISTS; | ^~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/cstdlib:145:9: error: 'quick_exit' has not been declared in '::' 145 | using ::quick_exit _LIBCPP_USING_IF_EXISTS; | ^~~~~~~~~~ In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:523, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/shared_ptr.h:42: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::hours std::__1::literals::chrono_literals::operator""h(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:542:66: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 542 | return chrono::hours(static_cast(__h)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long int; _Period = std::__1::ratio<3600>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:542:66: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long int'} 542 | return chrono::hours(static_cast(__h)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long int; _Period = std::__1::ratio<3600>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:542:66: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long int; _Period = std::__1::ratio<3600>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration > std::__1::literals::chrono_literals::operator""h(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:547:64: error: no matching function for call to 'std::__1::chrono::duration >::duration(long double&)' 547 | return chrono::duration>(__h); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<3600>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:547:64: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 547 | return chrono::duration>(__h); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<3600>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:547:64: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<3600>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::minutes std::__1::literals::chrono_literals::operator""min(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:553:70: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 553 | return chrono::minutes(static_cast(__m)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long int; _Period = std::__1::ratio<60>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:553:70: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long int'} 553 | return chrono::minutes(static_cast(__m)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long int; _Period = std::__1::ratio<60>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:553:70: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long int; _Period = std::__1::ratio<60>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration > std::__1::literals::chrono_literals::operator""min(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:558:63: error: no matching function for call to 'std::__1::chrono::duration >::duration(long double&)' 558 | return chrono::duration> (__m); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<60>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:558:63: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 558 | return chrono::duration> (__m); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<60>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:558:63: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<60>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::seconds std::__1::literals::chrono_literals::operator""s(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:564:70: error: no matching function for call to 'std::__1::chrono::duration::duration(std::__1::chrono::duration::rep)' 564 | return chrono::seconds(static_cast(__s)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:564:70: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration::rep' {aka 'long long int'} 564 | return chrono::seconds(static_cast(__s)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:564:70: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(const std::__1::chrono::duration&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration::rep' {aka 'long long int'} to 'const std::__1::chrono::duration&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(std::__1::chrono::duration&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration::rep' {aka 'long long int'} to 'std::__1::chrono::duration&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration std::__1::literals::chrono_literals::operator""s(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:569:50: error: no matching function for call to 'std::__1::chrono::duration::duration(long double&)' 569 | return chrono::duration (__s); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<1>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:569:50: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 569 | return chrono::duration (__s); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<1>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:569:50: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<1>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(const std::__1::chrono::duration&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(std::__1::chrono::duration&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::milliseconds std::__1::literals::chrono_literals::operator""ms(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:575:81: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 575 | return chrono::milliseconds(static_cast(__ms)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:575:81: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 575 | return chrono::milliseconds(static_cast(__ms)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:575:81: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration > std::__1::literals::chrono_literals::operator""ms(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:580:57: error: no matching function for call to 'std::__1::chrono::duration >::duration(long double&)' 580 | return chrono::duration(__ms); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<1, 1000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:580:57: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 580 | return chrono::duration(__ms); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<1, 1000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:580:57: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<1, 1000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::microseconds std::__1::literals::chrono_literals::operator""us(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:586:81: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 586 | return chrono::microseconds(static_cast(__us)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:586:81: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 586 | return chrono::microseconds(static_cast(__us)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:586:81: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration > std::__1::literals::chrono_literals::operator""us(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:591:58: error: no matching function for call to 'std::__1::chrono::duration >::duration(long double&)' 591 | return chrono::duration (__us); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:591:58: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 591 | return chrono::duration (__us); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:591:58: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::nanoseconds std::__1::literals::chrono_literals::operator""ns(long long unsigned int)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:597:79: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 597 | return chrono::nanoseconds(static_cast(__ns)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:597:79: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 597 | return chrono::nanoseconds(static_cast(__ns)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:597:79: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In function 'constexpr std::__1::chrono::duration > std::__1::literals::chrono_literals::operator""ns(long double)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:602:57: error: no matching function for call to 'std::__1::chrono::duration >::duration(long double&)' 602 | return chrono::duration (__ns); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long double; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:602:57: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long double' 602 | return chrono::duration (__ns); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long double; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long double]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:602:57: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long double; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long double' to 'std::__1::chrono::duration >&&' In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:526: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h: In member function 'bool std::__1::__libcpp_timed_backoff_policy::operator()(std::__1::chrono::nanoseconds) const': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:30:46: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 30 | if(__elapsed > chrono::milliseconds(128)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:30:46: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 30 | if(__elapsed > chrono::milliseconds(128)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:30:46: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:31:59: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 31 | __libcpp_thread_sleep_for(chrono::milliseconds(8)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:31:59: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 31 | __libcpp_thread_sleep_for(chrono::milliseconds(8)); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:31:59: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:32:50: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 32 | else if(__elapsed > chrono::microseconds(64)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:32:50: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 32 | else if(__elapsed > chrono::microseconds(64)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:32:50: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:33:47: error: no match for 'operator/' (operand types are 'std::__1::chrono::nanoseconds' {aka 'std::__1::chrono::duration >'} and 'int') 33 | __libcpp_thread_sleep_for(__elapsed / 2); | ~~~~~~~~~ ^ ~ | | | | | int | std::__1::chrono::nanoseconds {aka std::__1::chrono::duration >} /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:485:1: note: candidate: 'template constexpr typename std::__1::enable_if<((! std::__1::chrono::__is_duration<_Rep2>::value) && std::__1::is_convertible<_Rep2, typename std::__1::common_type<_Rep1, _Rep2>::type>::value), std::__1::chrono::duration::type, _Period> >::type std::__1::chrono::operator/(const duration<_Rep, _Period>&, const _Rep2&)' 485 | operator/(const duration<_Rep1, _Period>& __d, const _Rep2& __s) | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:485:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr typename std::__1::enable_if<((! std::__1::chrono::__is_duration<_Rep2>::value) && std::__1::is_convertible<_Rep2, typename std::__1::common_type<_Rep1, _Rep2>::type>::value), std::__1::chrono::duration::type, _Period> >::type std::__1::chrono::operator/(const duration<_Rep, _Period>&, const _Rep2&) [with _Rep1 = long long int; _Period = std::__1::ratio<1, 1000000000>; _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:33:49: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:482:72: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 482 | is_convertible<_Rep2, typename common_type<_Rep1, _Rep2>::type>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:496:1: note: candidate: 'template constexpr typename std::__1::common_type<_Rep1, _Rep2>::type std::__1::chrono::operator/(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&)' 496 | operator/(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs) | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:496:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:33:49: note: mismatched types 'const std::__1::chrono::duration<_Rep2, _Period2>' and 'int' 33 | __libcpp_thread_sleep_for(__elapsed / 2); | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:34:49: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 34 | else if(__elapsed > chrono::microseconds(4)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:34:49: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 34 | else if(__elapsed > chrono::microseconds(4)) | ^ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/timed_backoff_policy.h:34:49: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iter_move.h:15, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/concepts.h:31, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/ranges_iterator_concept.h:13, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/iterator_operations.h:13, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_move_common.h:12, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy.h:12, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/uninitialized_algorithms.h:13, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/shared_ptr.h:30: /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:465:8: required from 'struct std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: required by substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:239:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:456:8: required from 'struct std::__1::__is_cpp17_input_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: required by substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:239:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/string:561, from /opt/local/libexec/gcc13/libc++/include/c++/v1/system_error:154, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__mutex_base:20, from /opt/local/libexec/gcc13/libc++/include/c++/v1/mutex:192: /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In static member function 'static std::__1::char_traits::char_type* std::__1::char_traits::copy(char_type*, const char_type*, size_t)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:239:20: error: no matching function for call to 'copy_n(const std::__1::char_traits::char_type*&, size_t&, std::__1::char_traits::char_type*&)' 239 | std::copy_n(__s2, __n, __s1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:12: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:465:8: required from 'struct std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: required by substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:309:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:456:8: required from 'struct std::__1::__is_cpp17_input_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: required by substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:309:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In static member function 'static std::__1::char_traits::char_type* std::__1::char_traits::copy(char_type*, const char_type*, size_t)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:309:20: error: no matching function for call to 'copy_n(const std::__1::char_traits::char_type*&, size_t&, std::__1::char_traits::char_type*&)' 309 | std::copy_n(__s2, __n, __s1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:465:8: required from 'struct std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: required by substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:457:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:456:8: required from 'struct std::__1::__is_cpp17_input_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: required by substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:457:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In static member function 'static std::__1::char_traits::char_type* std::__1::char_traits::copy(char_type*, const char_type*, size_t)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:457:20: error: no matching function for call to 'copy_n(const std::__1::char_traits::char_type*&, size_t&, std::__1::char_traits::char_type*&)' 457 | std::copy_n(__s2, __n, __s1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:465:8: required from 'struct std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: required by substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:549:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h: In instantiation of 'struct std::__1::__has_iterator_category_convertible_to': /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:456:8: required from 'struct std::__1::__is_cpp17_input_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: required by substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:549:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__iterator/iterator_traits.h:440:8: error: invalid use of incomplete type 'struct std::__1::is_convertible' 440 | struct __has_iterator_category_convertible_to | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__type_traits/is_convertible.h:92:61: note: declaration of 'struct std::__1::is_convertible' 92 | template struct _LIBCPP_TEMPLATE_VIS is_convertible | ^~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In static member function 'static std::__1::char_traits::char_type* std::__1::char_traits::copy(char_type*, const char_type*, size_t)': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:549:20: error: no matching function for call to 'copy_n(const std::__1::char_traits::char_type*&, size_t&, std::__1::char_traits::char_type*&)' 549 | std::copy_n(__s2, __n, __s1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/string: In instantiation of 'struct std::__1::__can_be_converted_to_string_view, std::__1::basic_string >': /opt/local/libexec/gcc13/libc++/include/c++/v1/string:961:98: required by substitution of 'template std::__1::basic_string::basic_string(const _Tp&) [with _Tp = std::__1::basic_string; = ]' /opt/local/libexec/gcc13/libc++/include/c++/v1/string:2008:5: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/string:650:72: error: incomplete type 'std::__1::is_convertible&, std::__1::basic_string_view >' used in nested name specifier 650 | is_convertible >::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/string:651:50: error: incomplete type 'std::__1::is_convertible&, const char*>' used in nested name specifier 651 | !is_convertible::value | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/string: In instantiation of 'struct std::__1::__can_be_converted_to_string_view, std::__1::basic_string >': /opt/local/libexec/gcc13/libc++/include/c++/v1/string:961:98: required by substitution of 'template std::__1::basic_string:basic_string(const _Tp&) [with _Tp = std::__1::basic_string; = ]' /opt/local/libexec/gcc13/libc++/include/c++/v1/string:2010:9: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/string:650:72: error: incomplete type 'std::__1::is_convertible&, std::__1::basic_string_view >' used in nested name specifier 650 | is_convertible >::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/string:651:50: error: incomplete type 'std::__1::is_convertible&, const wchar_t*>' used in nested name specifier 651 | !is_convertible::value | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: error: no matching function for call to 'copy_n(const char*&, size_t&, char*&)' 182 | std::copy_n(__source, __n, __allocation); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: error: no matching function for call to 'copy_n(const char*, size_t&, char*&)' 183 | std::copy_n(static_cast(__allocation), __n, __dest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char*; _Size = long unsigned int; _OutputIterator = char*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:232:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: error: no matching function for call to 'copy_n(const wchar_t*&, size_t&, wchar_t*&)' 182 | std::copy_n(__source, __n, __allocation); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: error: no matching function for call to 'copy_n(const wchar_t*, size_t&, wchar_t*&)' 183 | std::copy_n(static_cast(__allocation), __n, __dest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const wchar_t*; _Size = long unsigned int; _OutputIterator = wchar_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = wchar_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:302:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: error: no matching function for call to 'copy_n(const char16_t*&, size_t&, char16_t*&)' 182 | std::copy_n(__source, __n, __allocation); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: error: no matching function for call to 'copy_n(const char16_t*, size_t&, char16_t*&)' 183 | std::copy_n(static_cast(__allocation), __n, __dest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char16_t*; _Size = long unsigned int; _OutputIterator = char16_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char16_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:450:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: error: no matching function for call to 'copy_n(const char32_t*&, size_t&, char32_t*&)' 182 | std::copy_n(__source, __n, __allocation); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:182:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: error: no matching function for call to 'copy_n(const char32_t*, size_t&, char32_t*&)' 183 | std::copy_n(static_cast(__allocation), __n, __dest); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: candidate: 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 32 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:32:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if<(std::__1::__is_cpp17_input_iterator<_Tp>::value && (! std::__1::__is_cpp17_random_access_iterator<_Tp>::value)), _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:28:48: error: 'value' is not a member of 'std::__1::__is_cpp17_input_iterator' 28 | __is_cpp17_input_iterator<_InputIterator>::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:29:56: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' 29 | !__is_cpp17_random_access_iterator<_InputIterator>::value, | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h: In instantiation of '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: candidate: 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator)' 57 | copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) | ^~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h: In substitution of 'template typename std::__1::enable_if::value, _OutputIterator>::type std::__1::copy_n(_InputIterator, _Size, _OutputIterator) [with _InputIterator = const char32_t*; _Size = long unsigned int; _OutputIterator = char32_t*]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:183:16: required from '_CharT* std::__1::__char_traits_move(_CharT*, const _CharT*, size_t) [with _CharT = char32_t; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__string/char_traits.h:544:39: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_n.h:57:1: error: 'value' is not a member of 'std::__1::__is_cpp17_random_access_iterator' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 441 | return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 441 | return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: required from 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, true, false>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration; _Period = std::__1::ratio<1, 1000000000>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:33:39: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:87:16: error: no matching function for call to 'std::__1::chrono::duration::duration(std::__1::chrono::duration::rep)' 87 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:87:16: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration::rep' {aka 'long long int'} 87 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:87:16: required from 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, true, false>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration; _Period = std::__1::ratio<1, 1000000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:33:39: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, true, false>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration; _Period = std::__1::ratio<1, 1000000000>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:33:39: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(const std::__1::chrono::duration&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration::rep' {aka 'long long int'} to 'const std::__1::chrono::duration&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration::duration(std::__1::chrono::duration&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration::rep' {aka 'long long int'} to 'std::__1::chrono::duration&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'static constexpr std::__1::chrono::duration<_Rep, _Period> std::__1::chrono::duration<_Rep, _Period>::zero() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:39:125: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:299:90: error: no matching function for call to 'std::__1::chrono::duration >::duration(long long int)' 299 | _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR duration zero() _NOEXCEPT {return duration(duration_values::zero());} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:299:90: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'long long int' 299 | _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR duration zero() _NOEXCEPT {return duration(duration_values::zero());} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:299:90: required from 'static constexpr std::__1::chrono::duration<_Rep, _Period> std::__1::chrono::duration<_Rep, _Period>::zero() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:39:125: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'static constexpr std::__1::chrono::duration<_Rep, _Period> std::__1::chrono::duration<_Rep, _Period>::zero() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:39:125: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long long int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'long long int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/string: In instantiation of 'struct std::__1::__can_be_converted_to_string_view, long int>': /opt/local/libexec/gcc13/libc++/include/c++/v1/string:961:98: required by substitution of 'template std::__1::basic_string::basic_string(const _Tp&, const allocator_type&) [with _Tp = long int; = ]' /opt/local/libexec/gcc13/libc++/include/c++/v1/locale:1438:39: required from 'std::__1::ostreambuf_iterator<_CharT, _Traits> std::__1::__pad_and_outpu(ostreambuf_iterator<_CharT, _Traits>, const _CharT*, const _CharT*, const _CharT*, ios_base&, _CharT) [with _CharT = char; _Traits = char_traits]' /opt/local/libexec/gcc13/libc++/include/c++/v1/ostream:762:38: required from 'std::__1::basic_ostream<_CharT, _Traits>& std::__1::__put_character_sequence(basic_ostream<_CharT, _Traits>&, const _CharT*, size_t) [with _CharT = char; _Traits = char_traits; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/ostream:901:43: required from 'std::__1::basic_ostream& std::__1::operator<<(basic_ostream&, const char*) [with _Traits = char_traits]' t3.cpp:4:19: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/string:650:72: error: incomplete type 'std::__1::is_convertible >' used in nested name specifier 650 | is_convertible >::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/string:651:50: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 651 | !is_convertible::value | ^~~~~ In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/unwrap_range.h:19, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__algorithm/copy_move_common.h:14: /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h: In instantiation of 'static constexpr bool std::__1::pair< , >::_CheckArgs::__is_implicit() [with _U1 = const long unsigned int&; _U2 = const long unsigned int&; _T1 = long unsigned int; _T2 = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:123:81: required from 'static constexpr bool std::__1::pair< , >::_CheckArgs::__enable_explicit() [with _U1 = const long unsigned int&; _U2 = const long unsigned int&; _T1 = long unsigned int; _T2 = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:179:87: required by substitution of 'template::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit(), void>::type* > constexpr std::__1::pair::pair(const long unsigned int&, const long unsigned int&) [with bool _Dummy = true; typename std::__1::enable_if::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit(), void>::type* = ]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: required from 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(_Size, _Size, _Size, _Size, _Size, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:192:41: required from 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(const char*, _Size, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:251:57: required from '_Size std::__1::__murmur2_or_cityhash<_Size, 64>::operator()(const void*, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:330:47: required from 'size_t std::__1::__scalar_hash<_Tp, 2>::operator()(_Tp) const [with _Tp = std::__1::_PairT; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:388:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:117:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 117 | return is_convertible<_U1, first_type>::value | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:118:52: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 118 | && is_convertible<_U2, second_type>::value; | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h: In instantiation of 'static constexpr bool std::__1::pair< , >::_CheckArgs::__is_implicit() [with _U1 = long unsigned int; _U2 = long unsigned int; _T1 = long unsigned int; _T2 = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:123:81: required by substitution of 'template(), void>::type* > constexpr std::__1::pair::pair(_U1&&, _U2&&) [with _U1 = long unsigned int; _U2 = long unsigned int; typename std::__1::enable_if<__enable_explicit<_U1, _U2>(), void>::type* = ]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: required from 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(_Size, _Size, _Size, _Size, _Size, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:192:41: required from 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(const char*, _Size, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:251:57: required from '_Size std::__1::__murmur2_or_cityhash<_Size, 64>::operator()(const void*, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:330:47: required from 'size_t std::__1::__scalar_hash<_Tp, 2>::operator()(_Tp) const [with _Tp = std::__1::_PairT; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:388:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:202:76: in 'constexpr' expansion of 'std::__1::pair::_CheckArgs::__enable_explicit()' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:117:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 117 | return is_convertible<_U1, first_type>::value | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:118:52: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 118 | && is_convertible<_U2, second_type>::value; | ^~~~~ In file included from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/unique_ptr.h:17, from /opt/local/libexec/gcc13/libc++/include/c++/v1/__memory/shared_ptr.h:31: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h: In instantiation of 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(_Size, _Size, _Size, _Size, _Size, _Size) [with _Size = long unsigned int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:192:41: required from 'static std::__1::pair<_Size, _Size> std::__1::__murmur2_or_cityhash<_Size, 64>::__weak_hash_len_32_with_seeds(const char*, _Size, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:251:57: required from '_Size std::__1::__murmur2_or_cityhash<_Size, 64>::operator()(const void*, _Size) [with _Size = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:330:47: required from 'size_t std::__1::__scalar_hash<_Tp, 2>::operator()(_Tp) const [with _Tp = std::__1::_PairT; size_t = long unsigned int]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:388:20: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: error: no matching function for call to 'std::__1::pair::pair(long unsigned int, long unsigned int)' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:416:5: note: candidate: 'template std::__1::pair< , >::pair(std::__1::piecewise_construct_t, std::__1::tuple<_Args ...>&, std::__1::tuple<_Args2 ...>&, std::__1::__tuple_indices<_I1 ...>, std::__1::__tuple_indices<_I2 ...>) [with _Args1 = {_Args1 ...}; _Args2 = {_Args2 ...}; long unsigned int ..._I1 = {_I1 ...}; long unsigned int ..._I2 = {_I2 ...}; _T1 = long unsigned int; _T2 = long unsigned int]' 416 | pair(piecewise_construct_t, | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:416:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'std::__1::tuple<_Tp ...>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:301:5: note: candidate: 'template std::__1::pair< , >::pair(std::__1::piecewise_construct_t, std::__1::tuple<_Args ...>, std::__1::tuple<_Args2 ...>) [with _Args1 = {_Args1 ...}; _Args2 = {_Args2 ...}; _T1 = long unsigned int; _T2 = long unsigned int]' 301 | pair(piecewise_construct_t __pc, | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:301:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'std::__1::tuple<_Tp ...>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:295:5: note: candidate: 'template::type>::value && (! std::__1::is_same::type, std::__1::pair >::value)), std::__1::pair::_CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit<_Tuple>(), void>::type* > constexpr std::__1::pair< , >::pair(_Tuple&&) [with typename std::__1::enable_if::value && (! std::__1::is_same::type, std::__1::pair< , > >::value)), _CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit<_Tuple>()>::type* = _Tuple; _T1 = long unsigned int; _T2 = long unsigned int]' 295 | pair(_Tuple&& __p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:295:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: candidate expects 1 argument, 2 provided 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:287:14: note: candidate: 'template::type>::value && (! std::__1::is_same::type, std::__1::pair >::value)), std::__1::pair::_CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit<_Tuple>(), void>::type* > constexpr std::__1::pair< , >::pair(_Tuple&&) [with typename std::__1::enable_if::value && (! std::__1::is_same::type, std::__1::pair< , > >::value)), _CheckTupleLikeConstructor, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit<_Tuple>()>::type* = _Tuple; _T1 = long unsigned int; _T2 = long unsigned int]' 287 | explicit pair(_Tuple&& __p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:287:14: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: candidate expects 1 argument, 2 provided 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:266:5: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pair(std::__1::pair<_U1, _U2>&&) [with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_implicit<_U1, _U2>()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 266 | pair(pair<_U1, _U2>&& __p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:266:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'std::__1::pair<_T1, _T2>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:257:14: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pair(std::__1::pair<_U1, _U2>&&) [with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_explicit<_U1, _U2>()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 257 | explicit pair(pair<_U1, _U2>&&__p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:257:14: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'std::__1::pair<_T1, _T2>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:248:5: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pair(const std::__1::pair<_U1, _U2>&) [with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_implicit()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 248 | pair(pair<_U1, _U2> const& __p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:248:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'const std::__1::pair<_T1, _T2>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:239:14: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pai(const std::__1::pair<_U1, _U2>&) [with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_explicit()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 239 | explicit pair(pair<_U1, _U2> const& __p) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:239:14: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: mismatched types 'const std::__1::pair<_T1, _T2>' and 'long unsigned int' 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:219:5: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pair(_U1&&, _U2&&)[with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_implicit<_U1, _U2>()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 219 | pair(_U1&& __u1, _U2&& __u2) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:219:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:216:76: in 'constexpr' expansion of 'std::__1::pair::_CheckArgs::__enable_implicit()' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:128:80: in 'constexpr' expansion of 'std::__1::pair::_CheckArgs::__is_implicit()' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:216:89: error: 'constexpr' call flows off the end of the function 216 | typename enable_if<_CheckArgs::template __enable_implicit<_U1, _U2>()>::type* = nullptr | ^~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:216:76: note: in template argument for type 'bool' 216 | typename enable_if<_CheckArgs::template __enable_implicit<_U1, _U2>()>::type* = nullptr | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:205:14: note: candidate: 'template(), void>::type* > constexpr std::__1::pair< , >::pair(_U1&&, _U2&&) [with _U2 = _U1; typename std::__1::enable_if<_CheckArgs::__enable_explicit<_U1, _U2>()>::type* = _U2; _T1 = long unsigned int; _T2 = long unsigned int]' 205 | explicit pair(_U1&& __u1, _U2&& __u2) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:205:14: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:191:5: note: candidate: 'template::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit(), void>::type* > constexpr std::__1::pair< , >::pair(const _T1&, const _T2&) [with bool _Dummy = _Dummy; typename std::__1::enable_if::type::__enable_implicit()>::type* = ; _T1 = long unsigned int; _T2 = long unsigned int]' 191 | pair(_T1 const& __t1, _T2 const& __t2) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:191:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:188:86: in 'constexpr' expansion of 'std::__1::pair::_CheckArgs::__enable_implicit()' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:128:80: in 'constexpr' expansion of 'std::__1::pair::_CheckArgs::__is_implicit()' /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:189:16: error: 'constexpr' call flows off the end of the function 189 | >::type* = nullptr> | ^~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:188:86: note: in template argument for type 'bool' 188 | _CheckArgsDep<_Dummy>::template __enable_implicit<_T1 const&, _T2 const&>() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:182:14: note: candidate: 'template::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit(), void>::type* > constexpr std::__1::pair< , >::pair(const _T1&, const _T2&) [with bool _Dummy = _Dummy; typename std::__1::enable_if::type::__enable_explicit()>::type* = ; _T1 = long unsigned int; _T2 = long unsigned int]' 182 | explicit pair(_T1 const& __t1, _T2 const& __t2) | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:182:14: note: substitution of deduced template arguments resulted in errors seen above /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:174:5: note: candidate: 'template::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_implicit_default(), void>::type* > constexpr std::__1::pair< , >::pair() [with bool _Dummy = _Dummy; typename std::__1::enable_if::type::__enable_implicit_default()>::type* = ; _T1 = long unsigned int; _T2 = long unsigned int]' 174 | pair() _NOEXCEPT_(is_nothrow_default_constructible::value && | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:174:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: candidate expects 0 arguments, 2 provided 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:166:5: note: candidate: 'template::_CheckArgs, std::__1::__check_tuple_constructor_fail>::type::__enable_explicit_default(), void>::type* > constexpr std::__1::pair< , >::pair() [with bool _Dummy = _Dummy; typename std::__1::enable_if::type::__enable_explicit_default()>::type* = ; _T1 = long unsigned int; _T2 = long unsigned int]' 166 | pair() _NOEXCEPT_(is_nothrow_default_constructible::value && | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:166:5: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__functional/hash.h:184:12: note: candidate expects 0 arguments, 2 provided 184 | return pair<_Size, _Size>(__a + __z, __b + __c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:75:5: note: candidate: 'constexpr std::__1::pair< , >::pair(std::__1::pair< , >&&) [with _T1 = long unsigned int; _T2 = long unsigned int]' 75 | pair(pair&&) = default; | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:75:5: note: candidate expects 1 argument, 2 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:74:5: note: candidate: 'constexpr std::__1::pair< , >::pair(const std::__1::pair< , >&) [with _T1 = long unsigned int; _T2 = long unsigned int]' 74 | pair(pair const&) = default; | ^~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__utility/pair.h:74:5: note: candidate expects 1 argument, 2 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 1462 | if(__elapsed > chrono::microseconds(64)) | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 1462 | if(__elapsed > chrono::microseconds(64)) | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 1469 | else if(__elapsed > chrono::microseconds(4)) | ^~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 1469 | else if(__elapsed > chrono::microseconds(4)) | ^~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2379:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 1462 | if(__elapsed > chrono::microseconds(64)) | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 1462 | if(__elapsed > chrono::microseconds(64)) | ^~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:32: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2379:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2379:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: error: no matching function for call to 'std::__1::chrono::duration >::duration(int)' 1469 | else if(__elapsed > chrono::microseconds(4)) | ^~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'int' 1469 | else if(__elapsed > chrono::microseconds(4)) | ^~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1469:37: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2379:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic: In instantiation of 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2379:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'int' to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000000000, 1>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:37: required from 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 99 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 99 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: required from 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000000000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:37: required from 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000000000, 1>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000000000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:37: required from 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/convert_to_timespec.h:41:62: required from '_TimeSpec std::__1::__convert_to_timespec(const chrono::nanoseconds&) [with _TimeSpec = timespec; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__threading_support:413:80: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/time_point.h:242:37: required from 'constexpr typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration >; _Duration2 = duration >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:48:82: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 441 | return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 441 | return _Cd(_Cd(__lhs).count() - _Cd(__rhs).count()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:441:12: required from 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/time_point.h:242:37: required from 'constexpr typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration >; _Duration2 = duration >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:48:82: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr typename std::__1::common_type, std::__1::chrono::duration<_Rep2, _Period2> >::type std::__1::chrono::operator-(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>; typename std::__1::common_type, duration<_Rep2, _Period2> >::type = duration >]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/time_point.h:242:37: required from 'constexpr typename std::__1::common_type<_Duration1, _Duration2>::type std::__1::chrono::operator-(const time_point<_Clock, _Duration1>&, const time_point<_Clock, _Duration2>&) [with _Clock = steady_clock; _Duration1 = duration >; _Duration2 = duration >; typename std::__1::common_type<_Duration1, _Duration2>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:48:82: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000, 1>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:366:20: required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration >; _RhsDuration = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:384:82: required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:395:18: required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:22: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: error: no matching function for call to 'std::__1::chrono::duration >::duration(std::__1::chrono::duration >::rep)' 99 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Period2 = _Rep2; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 266 | duration(const duration<_Rep2, _Period2>& __d, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:266:9: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: note: mismatched types 'const std::__1::chrono::duration<_Rep, _Period>' and 'std::__1::chrono::duration >::rep' {aka 'long long int'} 99 | return _ToDuration(static_cast( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 100 | static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: candidate: 'template constexpr std::__1::chrono::duration<_Rep, _Period>::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || (! std::__1::chrono::treat_as_floating_point<_Rep2>::value)))>::type*) [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 254 | explicit duration(const _Rep2& __r, | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:254:18: note: template argument deduction/substitution failed: /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In substitution of 'template constexpr std::__1::chrono::duration >::duration(const _Rep2&, typename std::__1::enable_if<(std::__1::is_convertible::value && (std::__1::chrono::treat_as_floating_point::value || (! std::__1::chrono::treat_as_floating_point<_Rep>::value))), void>::type*) [with _Rep2 = long long int]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:99:16: required from 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:366:20: required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration >; _RhsDuration = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:384:82: required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:395:18: required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:22: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:257:51: error: incomplete type 'std::__1::is_convertible' used in nested name specifier 257 | is_convertible::value && | ^~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h: In instantiation of 'constexpr _ToDuration std::__1::chrono::__duration_cast<_FromDuration, _ToDuration, _Period, false, true>::operator()(const _FromDuration&) const [with _FromDuration = std::__1::chrono::duration >; _ToDuration = std::__1::chrono::duration >; _Period = std::__1::ratio<1000, 1>]': /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:127:67: required from 'constexpr typename std::__1::enable_if::value, _ToDuration>::type std::__1::chrono::duration_cast(const duration<_Rep, _Period>&) [with _ToDuration = duration >; _Rep = long long int; _Period = std::__1::ratio<1, 1000000>; typename std::__1::enable_if<__is_duration<_Tp>::value, _ToDuration>::type = duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:274:57: required from 'constexpr std::__1::chrono::duration<_Rep, _Period>::duratio(const std::__1::chrono::duration<_Rep2, _Period2>&, typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type*) [with _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>; _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>; typename std::__1::enable_if<(__no_overflow<_Period2, typename _Period::type>::value && (std::__1::chrono::treat_as_floating_point<_Rep>::value || ((typename __no_overflow<_Period2, typename _Period::type>::type::den == 1) && (! std::__1::chrono::treat_as_floating_point<_Rep2>::value))))>::type = void; typename _Period::type = std::__1::ratio<1, 1000000000>; typename __no_overflow<_Period2, typename _Period::type>::type = std::__1::ratio<1000, 1>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:366:20: required from 'constexpr bool std::__1::chrono::__duration_lt<_LhsDuration, _RhsDuration>::operator()(const _LhsDuration&, const _RhsDuration&) const [with _LhsDuration = std::__1::chrono::duration >; _RhsDuration = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:384:82: required from 'constexpr bool std::__1::chrono::operator<(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:395:18: required from 'constexpr bool std::__1::chrono::operator>(const duration<_Rep, _Period>&, const duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::__1::ratio<1, 1000000000>; _Rep2 = long long int; _Period2 = std::__1::ratio<1, 1000000>]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1462:22: required from 'bool std::__1::__libcpp_atomic_wait_backoff_impl<_Atp, _Fn>::operator()(std::__1::chrono::nanoseconds) const [with _Atp = const volatile std::__1::__cxx_atomic_impl; _Fn = std::__1::__cxx_atomic_wait_test_fn_impl, bool>; std::__1::chrono::nanoseconds = std::__1::chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/__thread/poll_with_backoff.h:51:15: required from 'bool std::__1::__libcpp_thread_poll_with_backoff(_Fn&&, _BFn&&, chrono::nanoseconds) [with _Fn = __cxx_atomic_wait_test_fn_impl, bool>&; _BFn = __libcpp_atomic_wait_backoff_impl, __cxx_atomic_wait_test_fn_impl, bool> >&; chrono::nanoseconds = chrono::duration >]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1482:50: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Fn&&) [with _Atp = const volatile __cxx_atomic_impl; _Fn = __cxx_atomic_wait_test_fn_impl, bool>&]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:1515:34: required from 'bool std::__1::__cxx_atomic_wait(_Atp*, _Tp, memory_order) [with _Atp = const volatile __cxx_atomic_impl; _Tp = bool; memory_order = memory_order]' /opt/local/libexec/gcc13/libc++/include/c++/v1/atomic:2376:27: required from here /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate: 'std::__1::chrono::duration<_Rep, _Period>::duration() [with _Rep = long long int; _Period = std::__1::ratio<1, 1000000000>]' 247 | duration() = default; | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:247:9: note: candidate expects 0 arguments, 1 provided /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(const std::__1::chrono::duration >&)' 202 | class _LIBCPP_TEMPLATE_VIS duration | ^~~~~~~~ /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'const std::__1::chrono::duration >&' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: candidate: 'constexpr std::__1::chrono::duration >::duration(std::__1::chrono::duration >&&)' /opt/local/libexec/gcc13/libc++/include/c++/v1/__chrono/duration.h:202:28: note: no known conversion for argument 1 from 'std::__1::chrono::duration >::rep' {aka 'long long int'} to 'std::__1::chrono::duration >&&' $