Due to the inability to detect warnings in REPL tests, I implemented running something very similar, but with the -prod flag enabled.
(See https://github.com/vlang/v/pull/2536)
There is also a minor change in os.walk_ext to not add duplicated path separators:
/path//file.ext -> /path/file.ext