Scala compilation issue in 2.12.15

I am facing compilation issue in scala 2.12.15 , could someone pls let me know if faced?

scala.tools.nsc.Settings.nowarn()Lscala/tools/nsc/settings/AbsSettings$AbsSetting;
xsbt.Command$.getNoWarn(Command.scala:36)

Welcome,
Can you show the piece of code where the error is coming from? If possible, create a Scastie with your code in it, and link it here, so that we can easily understand the problem.