Error with modules and 'function with deduced return type cannot be used before it is defined'

I don’t understand this error.

This post was much longer but now I got it reproducing on godbolt: Compiler Explorer

It seems dependent on the #include<format> and -fexperimental-library, as well as the use of modules.