Indexing diagnostics: distinct module roots by name.