@witty-crayon-22786 I generified the new error message to work with JVM, but I couldn't figure out how the JVM algorithm works on validating roots vs. validating dependencies. Looks like it validates closure all at once.
Would you be willing to please push a commit perhaps? Hopefully fairly obvious how to wire in:
https://github.com/pantsbuild/pants/pull/15416