See scala/scala3#25119
In the Scala 3 Open Community Build we've seen that this project was failing at runtime. It is caused by reflectve access to $outer filed of Enumeration.Value class which is under Scala 2 was published as public, but in the Scala 3 it's emitted as private.
The change has started be active since Scala 3.8 which introduces Scala standard library (including Enumeration) compiled using Scala 3.8
The unsafe access to private $outer member should be fixed on the library end my modifing access to that field, rewriting logic or deprecating these usages