We got this error when upgraded to 3.6.3:
[warn] Flag -classpath set repeatedly
[error] -- Error: api/target/shaded/scala-3.4.2/src_managed/main/velocity/DefaultBSONHandlers.scala:379:2
[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(TermRef(TermRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),object com),object github),object ghik),object silencer),silent),<init>) at readTasty
[warn] one warning found
[error] one error found
[error] (Compile / doc) DottyDoc Compilation Failed
It happen in lichess lila-ws repo. Either downgrade to 3.6.2 or disable doc phase (Compile / doc / sources := Seq.empty
) fix the the issue