Set source version to 3.1-migration.
https://scalacenter.github.io/scala-3-migration-guide/docs/scala-3-migration-mode