Use Wunused-crate-dependencies for the compiler
#137930
Merged
Wunused-crate-dependencies for the compiler
#137930