[error] java.lang.ClassCastException: class scala.None$ cannot be cast to class scala.Some (scala.None$ and scala.Some are in unnamed module of loader sbt.internal.ScalaLibraryClassLoader @68cb9ead)
[error] at example.Main$.main(Main.scala:36)
[error] at example.Main.main(Main.scala)
[error] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[error] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
build.sbt
Main.scala
sbt run