This script does the following:
- Downloads the listing of Scala 3 nightly versions from https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/
- Parses and sorts them in a really silly way
- Runs binary search, invoking scala-cli with a given file and different versions, until it hits the earliest version where the file fails to compile
E.g. if you have a file like this (from scala/scala3#15160):
example.sc