Fix CI diagnostics for failed bazel builds on Windows
#42006
Merged
bazel builds on Windows
#42006