Migrating a package to Umbraco 16 - Index problem with ContentValueSetValidator

Do you have any code samples of the usage and arguments of ConfigureForumIndexOptions?

IScopeProvider in your case should come from Umbraco.Cms.Infrastructure.Scoping since ContentValueSetValidator uses this one.
If I check the ContentValueSetValidator (from Umbraco.Cms.Infrastructure.Examine), it shows that it uses the one from Cms.Infrastructure:

It also tells me the Cms.Core is obsolete:

Make sure you have the following ‘using’ in your file:

using Umbraco.Cms.Infrastructure.Scoping;

Please also make sure your NuGets are also up to date (both installed and transative) and are running on 16.
Edit: the ContentValueSetValidator that you mention is the one from Umbraco themselves right, not a custom one with the same name?