Formatter for std::vector is a part of P2286R8 "Formatting Ranges" and is not yet supported by libstdc++. (Both GCC and Clang use libstdc++ as the default standard library implementation on Linux.)
std::vector