"Lambda capture is not used" build failure(s) — clang 10.0.0

No error detected for version 10.0.0