I recently upgraded bazel to 0.25.2. (Forgot from which version but in the low 0.20's)
But since upgrade my bazel build of buchgr/bazel-remote fails with the following errors:
ERROR: /Users/<user>/Workspace/bazel-remote-cache/WORKSPACE:1:1: name 'http_archive' is not defined ERROR: /Users/<user>/Workspace/bazel-remote-cache/WORKSPACE:9:1: name 'http_archive' is not defined ERROR: /Users/<user>/Workspace/bazel-remote-cache/WORKSPACE:15:1: name 'git_repository' is not defined ERROR: Error evaluating WORKSPACE file ERROR: error loading package '': Encountered error while reading extension file 'go/image.bzl': no such package '@io_bazel_rules_docker//go': error loading package 'external': Could not load //external package ERROR: error loading package '': Encountered error while reading extension file 'go/image.bzl': no such package '@io_bazel_rules_docker//go': error loading package 'external': Could not load //external package INFO: Elapsed time: 0.068s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) Not sure why this is happening? I don't see any documentation which says http_archive or git_repository is deprecated. I am new to bazel, can someone help me understand what is going on?