$ bazel fetch @go_sdk//...
INFO: Analyzed 59 targets (0 packages loaded, 0 targets configured).
INFO: Found 59 targets...
ERROR: Error doing post analysis query: Evaluation failed: Unable to load package '[/private/var/tmp/_bazel_john/67beefda950d56283b98d96980e6e332/external/go_sdk]/[]' because package is not in scope. Check that all target patterns in query expression are within the --universe_scope of this query.
INFO: Elapsed time: 0.543s, Critical Path: 0.00s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Fetching some target dependencies for deps(@go_sdk//...) failed, but --keep_going specified. Ignoring errors
Description of the bug:
Bazel 7.1.0 has a breaking change to
bazel fetch. It's no longer possible to fetch target labels ending in....Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release?release 7.1.0
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD?Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
Yes
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response