Specify Dependencies on Unpackageable Metadata

It’s possible that the managed 1GP package you’re converting includes tests or references to unpackageable metadata.

To ensure your package conversion is successful, references to unpackageable metadata must be specified in your project configuration file. If you followed the steps in Convert Your Managed 1GP Package to 2GP, you created a Salesforce DX project in step three. When you create a Salesforce DX project, the project configuration file (sfdx-project.json) is automatically created.

If you think you may have these kinds of references, review Specify Unpackaged Metadata for Package Version Creation Tests and Reference Standard Value Sets by Specifying a Seed Metadata Directory. In Migrating Your Subscribers from 1GP to 2GP, we share when in the conversion workflow to specify unpackageable metadata.