Set source version to 3.1-migration.
https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html