Fix build failure on nightly (combination of warning for "cannot be resolved" and lint deny(warnings))