bazelbuild / bazelbuild/rules_rust

Flaky windows failure `Symlinking virtual headers -- not all outputs were created or valid`

Open
#2,335 2 comments 0 reactions 0 assignees View on GitHub
bug needs-triage windows
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

I started seeing this after the release of Bazel 7.0.0
https://buildkite.com/bazel/rules-rust-rustlang/builds/10080#018c6928-e1c0-4ca2-91ca-c6d2154affa5
```
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: output 'external/libgit2/_virtual_includes/git2/util/win32/win32-compat.h' is a dangling symbolic link
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: output 'external/libgit2/_virtual_includes/git2/util/win32/msvc-compat.h' is a dangling symbolic link
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: output 'external/libgit2/_virtual_includes/git2/util/win32/error.h' is a dangling symbolic link
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: Symlinking virtual headers for git2 failed: not all outputs were created or valid
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: Symlinking virtual headers for git2 failed: not all outputs were created or valid
(16:30:46) ERROR: C:/b/3sweaedp/external/libgit2/BUILD.bazel:192:11: Symlinking virtual headers for git2 failed: not all outputs were created or valid
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.