c++ -c -std=c++26 -o out/main.cc.o src/main.cc In file included from src/main.cc:2: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/format:211: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:99:30: error: call to implicitly-deleted default constructor of 'formatter' 99 | formatter<_Tp, _CharT> __f; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:98:62: note: while substituting into a lambda expression here 98 | __parse_ = [](basic_format_parse_context<_CharT>& __ctx) { | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:393:25: note: in instantiation of function template specialization 'std::__format::__compile_time_handle::__enable' requested here 393 | __handle.template __enable<_Tp>(); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:389:99: note: while substituting into a lambda expression here 389 | static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{[] { | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:373:54: note: in instantiation of static data member 'std::basic_format_string::__handles_' requested here 373 | _Context{__types_.data(), __handles_.data(), sizeof...(_Args)}); | ^ src/main.cc:12:14: note: in instantiation of function template specialization 'std::basic_format_string::basic_format_string' requested here 12 | std::print("Ext: {}", ext); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter.h:40:20: note: default constructor of 'formatter' is implicitly deleted because base class '__disabled_formatter' has a deleted default constructor 40 | struct formatter : __disabled_formatter {}; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter.h:25:3: note: '__disabled_formatter' has been explicitly marked deleted here 25 | __disabled_formatter() = delete; | ^ In file included from src/main.cc:2: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/format:211: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:100:28: error: no member named 'parse' in 'std::formatter' 100 | __ctx.advance_to(__f.parse(__ctx)); | ~~~ ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:389:85: error: constexpr variable '__handles_' must be initialized by a constant expression 389 | static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{[] { | ^ ~~~~~ 390 | using _Tp = remove_cvref_t<_Args>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 391 | __format::__compile_time_handle<_CharT> __handle; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 392 | if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | __handle.template __enable<_Tp>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 394 | 395 | return __handle; | ~~~~~~~~~~~~~~~~ 396 | }()...}; | ~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:373:54: note: in instantiation of static data member 'std::basic_format_string::__handles_' requested here 373 | _Context{__types_.data(), __handles_.data(), sizeof...(_Args)}); | ^ src/main.cc:12:14: note: in instantiation of function template specialization 'std::basic_format_string::basic_format_string' requested here 12 | std::print("Ext: {}", ext); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:393:25: note: subexpression not valid in a constant expression 393 | __handle.template __enable<_Tp>(); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:389:96: note: in call to '[] { using _Tp = remove_cvref_t; __format::__compile_time_handle __handle; if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle) __handle.template __enable<_Tp>(); return __handle; }.operator()()' 389 | static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{[] { | ^~~~ 390 | using _Tp = remove_cvref_t<_Args>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 391 | __format::__compile_time_handle<_CharT> __handle; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 392 | if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 393 | __handle.template __enable<_Tp>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 394 | 395 | return __handle; | ~~~~~~~~~~~~~~~~ 396 | }()...}; | ~~~ src/main.cc:12:14: error: call to consteval function 'std::basic_format_string::basic_format_string' is not a constant expression 12 | std::print("Ext: {}", ext); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:373:65: note: initializer of '__handles_' is not a constant expression 373 | _Context{__types_.data(), __handles_.data(), sizeof...(_Args)}); | ^ src/main.cc:12:14: note: in call to 'basic_format_string("Ext: {}")' 12 | std::print("Ext: {}", ext); | ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:389:85: note: declared here 389 | static constexpr array<__format::__compile_time_handle<_CharT>, sizeof...(_Args)> __handles_{[] { | ^ In file included from src/main.cc:2: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/format:202: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/container_adaptor.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/range_default_formatter.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/range_formatter.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_context.h:17: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:175:17: error: static assertion failed due to requirement '__arg != __arg_t::__none': the supplied type is not formattable 175 | static_assert(__arg != __arg_t::__none, "the supplied type is not formattable"); | ^~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:224:54: note: in instantiation of function template specialization 'std::__format::__create_format_arg' requested here 224 | basic_format_arg<_Context> __arg = __format::__create_format_arg<_Context>(__args); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:264:19: note: in instantiation of function template specialization 'std::__format::__create_packed_storage' requested here 264 | __format::__create_packed_storage(__storage.__types_, __storage.__values_, __args...); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_functions.h:72:10: note: in instantiation of member function 'std::__format_arg_store::__format_arg_store' requested here 72 | return std::__format_arg_store<_Context, _Args...>(__args...); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:337:59: note: in instantiation of function template specialization 'std::make_format_args' requested here 337 | __print::__vprint_unicode(__stream, __fmt.get(), std::make_format_args(__args...), false); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:347:8: note: in instantiation of function template specialization 'std::print' requested here 347 | std::print(stdout, __fmt, std::forward<_Args>(__args)...); | ^ src/main.cc:12:8: note: in instantiation of function template specialization 'std::print' requested here 12 | std::print("Ext: {}", ext); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:175:23: note: expression evaluates to '0 != 0' 175 | static_assert(__arg != __arg_t::__none, "the supplied type is not formattable"); | ~~~~~~^~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:176:17: error: static assertion failed 176 | static_assert(__formattable_with<_Tp, _Context>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:176:17: note: because '__formattable_with' evaluated to false /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/concepts.h:51:5: note: because 'std::formatter' does not satisfy 'semiregular' 51 | semiregular<_Formatter> && | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/semiregular.h:27:23: note: because 'std::formatter' does not satisfy 'copyable' 27 | concept semiregular = copyable<_Tp> && default_initializable<_Tp>; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/copyable.h:30:5: note: because 'std::formatter' does not satisfy 'copy_constructible' 30 | copy_constructible<_Tp> && | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/constructible.h:45:5: note: because 'std::formatter' does not satisfy 'move_constructible' 45 | move_constructible<_Tp> && | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/constructible.h:39:30: note: because 'constructible_from, std::formatter>' evaluated to false 39 | concept move_constructible = constructible_from<_Tp, _Tp> && convertible_to<_Tp, _Tp>; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/constructible.h:27:51: note: because 'is_constructible_v, std::formatter>' evaluated to false 27 | concept constructible_from = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__concepts/constructible.h:27:51: error: call to implicitly-deleted copy constructor of 'std::formatter' 27 | concept constructible_from = destructible<_Tp> && is_constructible_v<_Tp, _Args...>; | ^~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter.h:40:20: note: copy constructor of 'formatter' is implicitly deleted because base class '__disabled_formatter' has a deleted copy constructor 40 | struct formatter : __disabled_formatter {}; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter.h:26:3: note: '__disabled_formatter' has been explicitly marked deleted here 26 | __disabled_formatter(const __disabled_formatter&) = delete; | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter.h:40:8: note: 'formatter' defined here 40 | struct formatter : __disabled_formatter {}; | ^ In file included from src/main.cc:2: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/print:46: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/format:202: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/container_adaptor.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/range_default_formatter.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/range_formatter.h:23: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_context.h:17: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg_store.h:215:12: error: no matching constructor for initialization of 'basic_format_arg' 215 | return basic_format_arg<_Context>{__arg, __value}; | ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg.h:352:34: note: candidate constructor not viable: no known conversion from 'std::filesystem::path' to '__basic_format_arg_value' for 2nd argument 352 | _LIBCPP_HIDE_FROM_ABI explicit basic_format_arg(__format::__arg_t __type, | ^ 353 | __basic_format_arg_value<_Context> __value) noexcept | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg.h:280:34: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 280 | class _LIBCPP_NO_SPECIALIZATIONS basic_format_arg { | ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg.h:280:34: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 280 | class _LIBCPP_NO_SPECIALIZATIONS basic_format_arg { | ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/format_arg.h:284:25: note: candidate constructor not viable: requires 0 arguments, but 2 were provided 284 | _LIBCPP_HIDE_FROM_ABI basic_format_arg() noexcept : __type_{__format::__arg_t::__none} {} | ^ 8 errors generated. make: *** [out/main.cc.o] Error 1