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