=* #2966 Reduce warnings from compile, test, scaladoc

to set expectations right: this is an impossible ticket to solve completely, this will make things better, but not perfect